|  | 
| typedef internal::traits< DiagonalMatrix >::DiagonalVectorType | DiagonalVectorType | 
|  | 
| typedef internal::traits< DiagonalMatrix >::Index | Index | 
|  | 
| typedef const DiagonalMatrix & | Nested | 
|  | 
| typedef _Scalar | Scalar | 
|  | 
| typedef internal::traits< DiagonalMatrix >::StorageKind | StorageKind | 
|  | 
| enum |  | 
|  | 
| typedef Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime, 0, MaxRowsAtCompileTime, MaxColsAtCompileTime > | DenseMatrixType | 
|  | 
| typedef DenseMatrixType | DenseType | 
|  | 
| typedef internal::traits< DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > >::DiagonalVectorType | DiagonalVectorType | 
|  | 
| typedef internal::traits< DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > >::Index | Index | 
|  | 
| typedef DiagonalMatrix< Scalar, DiagonalVectorType::SizeAtCompileTime, DiagonalVectorType::MaxSizeAtCompileTime > | PlainObject | 
|  | 
| typedef DiagonalVectorType::RealScalar | RealScalar | 
|  | 
| typedef DiagonalVectorType::Scalar | Scalar | 
|  | 
| typedef internal::traits< DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > >::StorageKind | StorageKind | 
|  | 
| typedef internal::traits< Derived >::Index | Index | 
|  | 
| typedef internal::traits< Derived >::StorageKind | StorageKind | 
|  | 
|  | 
| 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 | setIdentity () | 
|  | 
| void | setIdentity (Index size) | 
|  | 
| void | setZero () | 
|  | 
| void | setZero (Index size) | 
|  | 
| void | addTo (MatrixBase< DenseDerived > &other) const | 
|  | 
| Index | cols () const | 
|  | 
| const DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > & | derived () const | 
|  | 
| DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > & | derived () | 
|  | 
| const DiagonalVectorType & | diagonal () const | 
|  | 
| DiagonalVectorType & | diagonal () | 
|  | 
| void | evalTo (MatrixBase< DenseDerived > &other) const | 
|  | 
| const DiagonalWrapper< const CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const DiagonalVectorType > > | inverse () 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 | 
|  | 
| Index | rows () const | 
|  | 
| void | subTo (MatrixBase< DenseDerived > &other) const | 
|  | 
| DenseMatrixType | toDenseMatrix () const | 
|  | 
| template<typename Dest > | 
| void | addTo (Dest &dst) const | 
|  | 
| template<typename Dest > | 
| void | applyThisOnTheLeft (Dest &dst) const | 
|  | 
| template<typename Dest > | 
| void | applyThisOnTheRight (Dest &dst) const | 
|  | 
| Index | cols () const | 
|  | 
| Derived & | const_cast_derived () const | 
|  | 
| const Derived & | const_derived () const | 
|  | 
| Derived & | derived () | 
|  | 
| const Derived & | derived () const | 
|  | 
| template<typename Dest > | 
| void | evalTo (Dest &dst) const | 
|  | 
| Index | rows () const | 
|  | 
| Index | size () const | 
|  | 
| template<typename Dest > | 
| void | subTo (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.