Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

DiagonalProduct< MatrixType, DiagonalType, ProductOrder > Class Template Reference


Detailed Description

template<typename MatrixType, typename DiagonalType, int ProductOrder>
class DiagonalProduct< MatrixType, DiagonalType, ProductOrder >

Definition at line 56 of file DiagonalProduct.h.

#include <src/Core/DiagonalProduct.h>

Inheritance diagram for DiagonalProduct< MatrixType, DiagonalType, ProductOrder >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef MatrixBase
< DiagonalProduct
Base

Public Member Functions

 DiagonalProduct (const MatrixType &matrix, const DiagonalType &diagonal)
Index rows () const
Index cols () const
const Scalar coeff (Index row, Index col) const
template<int LoadMode>
EIGEN_STRONG_INLINE PacketScalar packet (Index row, Index col) const

Protected Member Functions

template<int LoadMode>
EIGEN_STRONG_INLINE PacketScalar packet_impl (Index row, Index col, Index id, internal::true_type) const
template<int LoadMode>
EIGEN_STRONG_INLINE PacketScalar packet_impl (Index row, Index col, Index id, internal::false_type) const

Protected Attributes

const MatrixType::Nested m_matrix
const DiagonalType::Nested m_diagonal

Member Typedef Documentation

template<typename MatrixType, typename DiagonalType, int ProductOrder>
typedef MatrixBase<DiagonalProduct> DiagonalProduct< MatrixType, DiagonalType, ProductOrder >::Base

Constructor & Destructor Documentation

template<typename MatrixType, typename DiagonalType, int ProductOrder>
DiagonalProduct< MatrixType, DiagonalType, ProductOrder >::DiagonalProduct ( const MatrixType &  matrix,
const DiagonalType &  diagonal 
) [inline]

Definition at line 64 of file DiagonalProduct.h.

References eigen_assert, and OnTheLeft.


Member Function Documentation

template<typename MatrixType, typename DiagonalType, int ProductOrder>
const Scalar DiagonalProduct< MatrixType, DiagonalType, ProductOrder >::coeff ( Index  row,
Index  col 
) const [inline]
template<typename MatrixType, typename DiagonalType, int ProductOrder>
Index DiagonalProduct< MatrixType, DiagonalType, ProductOrder >::cols ( void  ) const [inline]
template<typename MatrixType, typename DiagonalType, int ProductOrder>
template<int LoadMode>
EIGEN_STRONG_INLINE PacketScalar DiagonalProduct< MatrixType, DiagonalType, ProductOrder >::packet ( Index  row,
Index  col 
) const [inline]
template<typename MatrixType, typename DiagonalType, int ProductOrder>
template<int LoadMode>
EIGEN_STRONG_INLINE PacketScalar DiagonalProduct< MatrixType, DiagonalType, ProductOrder >::packet_impl ( Index  row,
Index  col,
Index  id,
internal::true_type   
) const [inline, protected]
template<typename MatrixType, typename DiagonalType, int ProductOrder>
template<int LoadMode>
EIGEN_STRONG_INLINE PacketScalar DiagonalProduct< MatrixType, DiagonalType, ProductOrder >::packet_impl ( Index  row,
Index  col,
Index  id,
internal::false_type   
) const [inline, protected]
template<typename MatrixType, typename DiagonalType, int ProductOrder>
Index DiagonalProduct< MatrixType, DiagonalType, ProductOrder >::rows ( void  ) const [inline]

Member Data Documentation

template<typename MatrixType, typename DiagonalType, int ProductOrder>
const DiagonalType::Nested DiagonalProduct< MatrixType, DiagonalType, ProductOrder >::m_diagonal [protected]
template<typename MatrixType, typename DiagonalType, int ProductOrder>
const MatrixType::Nested DiagonalProduct< MatrixType, DiagonalType, ProductOrder >::m_matrix [protected]



Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:16:28 UTC 2011