Public Types | |
typedef CoeffsVectorType | _CoeffsVectorType |
Public Member Functions | |
const Scalar | coeff (int row, int col) const |
int | cols () const |
const CoeffsVectorType & | diagonal () const |
DiagonalMatrix (const CoeffsVectorType &coeffs) | |
template<typename OtherCoeffsVectorType > | |
DiagonalMatrix (const DiagonalMatrix< OtherCoeffsVectorType > &other) | |
int | rows () const |
Protected Attributes | |
const CoeffsVectorType::Nested | m_coeffs |
CoeffsVectorType | the type of the vector of diagonal coefficients |
int cols | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< DiagonalMatrix< CoeffsVectorType > >.
int rows | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< DiagonalMatrix< CoeffsVectorType > >.