|
typedef internal::traits< DiagonalMatrix >::DiagonalVectorType | DiagonalVectorType |
|
typedef const DiagonalMatrix & | Nested |
|
typedef _Scalar | Scalar |
|
typedef internal::traits< DiagonalMatrix >::StorageKind | StorageKind |
|
typedef internal::traits< DiagonalMatrix >::Index | Index |
|
enum | |
|
typedef internal::traits< DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > >::DiagonalVectorType | DiagonalVectorType |
|
typedef DiagonalVectorType::Scalar | Scalar |
|
typedef DiagonalVectorType::RealScalar | RealScalar |
|
typedef internal::traits< DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > >::StorageKind | StorageKind |
|
typedef internal::traits< DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > >::Index | Index |
|
typedef Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime, 0, MaxRowsAtCompileTime, MaxColsAtCompileTime > | DenseMatrixType |
|
typedef DenseMatrixType | DenseType |
|
typedef DiagonalMatrix< Scalar, DiagonalVectorType::SizeAtCompileTime, DiagonalVectorType::MaxSizeAtCompileTime > | PlainObject |
|
typedef internal::traits< Derived >::StorageKind | StorageKind |
|
typedef internal::traits< Derived >::Index | Index |
|
|
const DiagonalVectorType & | diagonal () const |
|
DiagonalVectorType & | diagonal () |
|
| DiagonalMatrix () |
|
| DiagonalMatrix (Index dim) |
|
| DiagonalMatrix (const Scalar &x, const Scalar &y) |
|
| DiagonalMatrix (const Scalar &x, const Scalar &y, const Scalar &z) |
|
template<typename OtherDerived > |
| DiagonalMatrix (const DiagonalBase< OtherDerived > &other) |
|
| DiagonalMatrix (const DiagonalMatrix &other) |
|
template<typename OtherDerived > |
| DiagonalMatrix (const MatrixBase< OtherDerived > &other) |
|
template<typename OtherDerived > |
DiagonalMatrix & | operator= (const DiagonalBase< OtherDerived > &other) |
|
DiagonalMatrix & | operator= (const DiagonalMatrix &other) |
|
void | resize (Index size) |
|
void | setZero () |
|
void | setZero (Index size) |
|
void | setIdentity () |
|
void | setIdentity (Index size) |
|
const DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > & | derived () const |
|
DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > & | derived () |
|
DenseMatrixType | toDenseMatrix () const |
|
void | evalTo (MatrixBase< DenseDerived > &other) const |
|
void | addTo (MatrixBase< DenseDerived > &other) const |
|
void | subTo (MatrixBase< DenseDerived > &other) const |
|
const DiagonalVectorType & | diagonal () const |
|
DiagonalVectorType & | diagonal () |
|
Index | rows () const |
|
Index | cols () const |
|
const DiagonalProduct< MatrixDerived, DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >, OnTheLeft > | operator* (const MatrixBase< MatrixDerived > &matrix) const |
|
const DiagonalWrapper< const CwiseUnaryOp< internal::scalar_multiple_op< Scalar >, const DiagonalVectorType > > | operator* (const Scalar &scalar) const |
|
const DiagonalWrapper< const CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const DiagonalVectorType > > | inverse () const |
|
Derived & | derived () |
|
const Derived & | derived () const |
|
Derived & | const_cast_derived () const |
|
const Derived & | const_derived () const |
|
Index | rows () const |
|
Index | cols () const |
|
Index | size () const |
|
template<typename Dest > |
void | evalTo (Dest &dst) const |
|
template<typename Dest > |
void | addTo (Dest &dst) const |
|
template<typename Dest > |
void | subTo (Dest &dst) const |
|
template<typename Dest > |
void | applyThisOnTheRight (Dest &dst) const |
|
template<typename Dest > |
void | applyThisOnTheLeft (Dest &dst) const |
|
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
class Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >
Represents a diagonal matrix with its storage.
- Parameters
-
_Scalar | the type of coefficients |
SizeAtCompileTime | the dimension of the matrix, or Dynamic |
MaxSizeAtCompileTime | the dimension of the matrix, or Dynamic. This parameter is optional and defaults to SizeAtCompileTime. Most of the time, you do not need to specify it. |
- See also
- class DiagonalWrapper
Definition at line 135 of file DiagonalMatrix.h.