ma::maths::TransformOp

Compute the transformation of two expressions. More...

Header
#include <openma/maths/binaryop.h>

Module

Public Functions#

TransformOp(const XprBase< XprOne > &x1, const XprBase< XprTwo > &x2)

Index
rows() const noexcept

auto
values() const noexcept-> Eigen::internal::TransformOpValues< decltype(OPENMA_MATHS_DECLVAL_NESTED(XprOne).values()), decltype(OPENMA_MATHS_DECLVAL_NESTED(XprTwo).values())>

auto
residuals() const noexcept-> decltype(generate_residuals((OPENMA_MATHS_DECLVAL_NESTED(XprOne).residuals() >=0.0)&&(OPENMA_MATHS_DECLVAL_NESTED(XprTwo).residuals() >=0.0)))

Detailed Description#

Member Function Documentation#

auto ma::maths::TransformOp::residuals ( ) const noexcept [virtual][inline]

Returns the residuals associated with this operation. The residuals is generated based on the ones of each input.

Index ma::maths::TransformOp::rows ( ) const noexcept [inline]

Returns the number of rows that shall have the result of this operation. Internaly, this method relies on the number of rows of the first expresion.

ma::maths::TransformOp::TransformOp ( const XprBase < XprOne > & x1 , const XprBase < XprTwo > & x2 ) [inline]

Constructor

auto ma::maths::TransformOp::values ( ) const noexcept [inline]

Returns the transformation of the two expressions as a template expression.