ma::maths::CrossOp

Compute the cross product of two expressions. More...

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

Module

Public Functions#

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

Index
rows() const noexcept

auto
values() const noexcept-> Eigen::internal::CrossOpValues< 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#

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

Constructor

auto ma::maths::CrossOp::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::CrossOp::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.

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

Returns the cross product of the two expressions as a template expression.