Base class for binary operations. More...

#include <openma/maths/binaryop.h>

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

Index

rows() const noexcept

Index

cols() const noexcept

const Derived &

derived() const noexcept

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

Store the expressions *x1* and *x2* as plain objects or references depending of their type.

Index
ma::maths::BinaryOp::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 expressions.

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

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

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

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