Public Types | Public Member Functions | Protected Attributes
Product Class Reference

Expression of the product of two matrices. More...

List of all members.

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

Detailed Description

Expression of the product of two matrices.

Parameters:
LhsNestedthe type used to store the left-hand side
RhsNestedthe type used to store the right-hand side
ProductModethe 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.

See also:
ProductReturnType, MatrixBase::operator*(const MatrixBase<OtherDerived>&)

Member Function Documentation

int cols ( void  ) const [inline]
Returns:
the number of columns.
See also:
rows(), ColsAtCompileTime

Reimplemented from MatrixBase< Product< LhsNested, RhsNested, ProductMode > >.

int rows ( void  ) const [inline]
Returns:
the number of rows.
See also:
cols(), RowsAtCompileTime

Reimplemented from MatrixBase< Product< LhsNested, RhsNested, ProductMode > >.


The documentation for this class was generated from the following file: