Public Types | Public Member Functions

DiagonalBase< Derived > Class Template Reference

#include <DiagonalMatrix.h>

Inheritance diagram for DiagonalBase< Derived >:
EigenBase< Derived >

List of all members.

Public Types

enum  {
  RowsAtCompileTime = DiagonalVectorType::SizeAtCompileTime, ColsAtCompileTime = DiagonalVectorType::SizeAtCompileTime, MaxRowsAtCompileTime = DiagonalVectorType::MaxSizeAtCompileTime, MaxColsAtCompileTime = DiagonalVectorType::MaxSizeAtCompileTime,
  IsVectorAtCompileTime = 0, Flags = 0
}
typedef internal::traits
< Derived >
::DiagonalVectorType 
DiagonalVectorType
typedef DiagonalVectorType::Scalar Scalar
typedef internal::traits
< Derived >::StorageKind 
StorageKind
typedef internal::traits
< Derived >::Index 
Index
typedef Matrix< Scalar,
RowsAtCompileTime,
ColsAtCompileTime,
0, MaxRowsAtCompileTime,
MaxColsAtCompileTime > 
DenseMatrixType
typedef DenseMatrixType DenseType
typedef DiagonalMatrix< Scalar,
DiagonalVectorType::SizeAtCompileTime,
DiagonalVectorType::MaxSizeAtCompileTime > 
PlainObject

Public Member Functions

const Derived & derived () const
Derived & derived ()
DenseMatrixType toDenseMatrix () const
template<typename DenseDerived >
void evalTo (MatrixBase< DenseDerived > &other) const
template<typename DenseDerived >
void addTo (MatrixBase< DenseDerived > &other) const
template<typename DenseDerived >
void subTo (MatrixBase< DenseDerived > &other) const
const DiagonalVectorTypediagonal () const
DiagonalVectorTypediagonal ()
Index rows () const
Index cols () const
template<typename MatrixDerived >
const DiagonalProduct
< MatrixDerived, Derived,
OnTheLeft > 
operator* (const MatrixBase< MatrixDerived > &matrix) const
const DiagonalWrapper
< CwiseUnaryOp
< internal::scalar_inverse_op
< Scalar >, const
DiagonalVectorType > > 
inverse () const

template<typename Derived>
class DiagonalBase< Derived >


Member Typedef Documentation

template<typename Derived>
typedef Matrix<Scalar, RowsAtCompileTime, ColsAtCompileTime, 0, MaxRowsAtCompileTime, MaxColsAtCompileTime> DiagonalBase< Derived >::DenseMatrixType
template<typename Derived>
typedef DenseMatrixType DiagonalBase< Derived >::DenseType
template<typename Derived>
typedef internal::traits<Derived>::DiagonalVectorType DiagonalBase< Derived >::DiagonalVectorType
template<typename Derived>
typedef internal::traits<Derived>::Index DiagonalBase< Derived >::Index
template<typename Derived>
typedef DiagonalMatrix<Scalar,DiagonalVectorType::SizeAtCompileTime,DiagonalVectorType::MaxSizeAtCompileTime> DiagonalBase< Derived >::PlainObject
template<typename Derived>
typedef DiagonalVectorType::Scalar DiagonalBase< Derived >::Scalar
template<typename Derived>
typedef internal::traits<Derived>::StorageKind DiagonalBase< Derived >::StorageKind

Member Enumeration Documentation

template<typename Derived>
anonymous enum
Enumerator:
RowsAtCompileTime 
ColsAtCompileTime 
MaxRowsAtCompileTime 
MaxColsAtCompileTime 
IsVectorAtCompileTime 
Flags 

Member Function Documentation

template<typename Derived>
template<typename DenseDerived >
void DiagonalBase< Derived >::addTo ( MatrixBase< DenseDerived > &  other  )  const [inline]
template<typename Derived>
Index DiagonalBase< Derived >::cols ( void   )  const [inline]
Returns:
the number of columns.
See also:
rows(), ColsAtCompileTime

Reimplemented from EigenBase< Derived >.

template<typename Derived>
const Derived& DiagonalBase< Derived >::derived (  )  const [inline]
Returns:
a const reference to the derived object

Reimplemented from EigenBase< Derived >.

template<typename Derived>
Derived& DiagonalBase< Derived >::derived (  )  [inline]
Returns:
a reference to the derived object

Reimplemented from EigenBase< Derived >.

template<typename Derived>
DiagonalVectorType& DiagonalBase< Derived >::diagonal (  )  [inline]
template<typename Derived>
const DiagonalVectorType& DiagonalBase< Derived >::diagonal (  )  const [inline]
template<typename Derived >
template<typename DenseDerived >
void DiagonalBase< Derived >::evalTo ( MatrixBase< DenseDerived > &  other  )  const
template<typename Derived>
const DiagonalWrapper<CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const DiagonalVectorType> > DiagonalBase< Derived >::inverse (  )  const [inline]
template<typename DiagonalDerived >
template<typename MatrixDerived >
const DiagonalProduct< MatrixDerived, DiagonalDerived, OnTheLeft > DiagonalBase< DiagonalDerived >::operator* ( const MatrixBase< MatrixDerived > &  matrix  )  const [inline]
Returns:
the diagonal matrix product of *this by the matrix matrix.
template<typename Derived>
Index DiagonalBase< Derived >::rows ( void   )  const [inline]
Returns:
the number of rows.
See also:
cols(), RowsAtCompileTime

Reimplemented from EigenBase< Derived >.

template<typename Derived>
template<typename DenseDerived >
void DiagonalBase< Derived >::subTo ( MatrixBase< DenseDerived > &  other  )  const [inline]
template<typename Derived>
DenseMatrixType DiagonalBase< Derived >::toDenseMatrix (  )  const [inline]

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