Public Member Functions | |
const Scalar | coeff (int index) const |
const Scalar | coeff (int rows, int cols) const |
int | cols () const |
CwiseNullaryOp (int rows, int cols, const NullaryOp &func=NullaryOp()) | |
template<int LoadMode> | |
PacketScalar | packet (int) const |
template<int LoadMode> | |
PacketScalar | packet (int, int) const |
int | rows () const |
Protected Attributes | |
const ei_int_if_dynamic < ColsAtCompileTime > | m_cols |
const NullaryOp | m_functor |
const ei_int_if_dynamic < RowsAtCompileTime > | m_rows |
NullaryOp | template functor implementing the operator |
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< CwiseNullaryOp< NullaryOp, MatrixType > >.
int rows | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< CwiseNullaryOp< NullaryOp, MatrixType > >.