Base class for unary operations. More...

#include <openma/maths/unaryop.h>

UnaryOp(const XprBase< Xpr > &x)

Index

rows() const noexcept

Index

cols() const noexcept

const Derived &

derived() const noexcept

Index
ma::maths::UnaryOp::cols (
) const noexcept
[inline]

Returns the number of columns that shall have the result of the binary operation. Internaly, this method relies on the template arguments of given expression.

const
Derived
&
ma::maths::UnaryOp::derived (
) const noexcept
[inline]

Cast this object as a const reference of the Derived class.

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

Returns the number of rows that shall have the result of the unary operation. Internaly, this method relies on the rows() method of the Derived class.

Store the expression *x* as plain object or reference depending of their type.