Expression of the product of two matrices. More...
Public Types | |
enum | { LhsNestedFlags, RhsNestedFlags } |
typedef ei_cleantype < LhsNestedX >::type | _LhsNestedX |
typedef ei_cleantype < RhsNestedX >::type | _RhsNestedX |
typedef ei_nested< _LhsNested, _RhsNested::ColsAtCompileTime > ::type | LhsNestedX |
typedef ei_nested< _RhsNested, _LhsNested::RowsAtCompileTime > ::type | RhsNestedX |
Public Member Functions | |
template<typename DestDerived > | |
void | _cacheFriendlyEvalAndAdd (DestDerived &res) const |
bool | _useCacheFriendlyProduct () const |
const Scalar | coeff (int row, int col) const |
const Scalar | coeff (int index) const |
int | cols () const |
const _LhsNested & | lhs () const |
template<int LoadMode> | |
const PacketScalar | packet (int row, int col) const |
template<typename Lhs , typename Rhs > | |
Product (const Lhs &lhs, const Rhs &rhs) | |
const _RhsNested & | rhs () const |
int | rows () const |
Protected Attributes | |
const LhsNested | m_lhs |
const RhsNested | m_rhs |
Expression of the product of two matrices.
LhsNested | the type used to store the left-hand side |
RhsNested | the type used to store the right-hand side |
ProductMode | the type of the product |
This class represents an expression of the product of two matrices. It is the return type of the operator* between matrices. Its template arguments are determined automatically by ProductReturnType. Therefore, Product should never be used direclty. To determine the result type of a function which involves a matrix product, use ProductReturnType::Type.
int cols | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Product< LhsNested, RhsNested, ProductMode > >.
int rows | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Product< LhsNested, RhsNested, ProductMode > >.