Public Types | |
typedef ei_traits < CwiseBinaryOp >::LhsNested | LhsNested |
typedef ei_traits < CwiseBinaryOp >::RhsNested | RhsNested |
Public Member Functions | |
const Scalar | coeff (int index) const |
const Scalar | coeff (int row, int col) const |
int | cols () const |
CwiseBinaryOp (const Lhs &lhs, const Rhs &rhs, const BinaryOp &func=BinaryOp()) | |
template<int LoadMode> | |
PacketScalar | packet (int index) const |
template<int LoadMode> | |
PacketScalar | packet (int row, int col) const |
int | rows () const |
Protected Attributes | |
const BinaryOp | m_functor |
const LhsNested | m_lhs |
const RhsNested | m_rhs |
BinaryOp | template functor implementing the operator | |
Lhs | the type of the left-hand side | |
Rhs | the type of the right-hand side |
However, if you want to write a function returning such an expression, you will need to use this class.
int cols | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >.
int rows | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >.