Represents a diagonal matrix with its storage. More...
#include <DiagonalMatrix.h>
Protected Attributes | |
DiagonalVectorType | m_diagonal |
Represents a diagonal matrix with its storage.
_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. |
Definition at line 140 of file DiagonalMatrix.h.
typedef internal::traits<DiagonalMatrix>::DiagonalVectorType Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::DiagonalVectorType |
Definition at line 145 of file DiagonalMatrix.h.
typedef const DiagonalMatrix& Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::Nested |
Definition at line 146 of file DiagonalMatrix.h.
typedef _Scalar Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::Scalar |
Definition at line 147 of file DiagonalMatrix.h.
typedef internal::traits<DiagonalMatrix>::StorageIndex Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::StorageIndex |
Definition at line 149 of file DiagonalMatrix.h.
typedef internal::traits<DiagonalMatrix>::StorageKind Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::StorageKind |
Definition at line 148 of file DiagonalMatrix.h.
|
inline |
Default constructor without initialization
Definition at line 167 of file DiagonalMatrix.h.
|
inlineexplicit |
Constructs a diagonal matrix with given dimension
Definition at line 171 of file DiagonalMatrix.h.
|
inline |
2D constructor.
Definition at line 175 of file DiagonalMatrix.h.
|
inline |
3D constructor.
Definition at line 179 of file DiagonalMatrix.h.
|
inline |
Copy constructor.
Definition at line 208 of file DiagonalMatrix.h.
|
inline |
copy constructor. prevent a default copy constructor from hiding the other templated constructor
Definition at line 212 of file DiagonalMatrix.h.
|
inlineexplicit |
generic constructor from expression of the diagonal coefficients
Definition at line 218 of file DiagonalMatrix.h.
|
inline |
const version of diagonal().
Definition at line 160 of file DiagonalMatrix.h.
|
inline |
Definition at line 163 of file DiagonalMatrix.h.
|
inline |
Copy operator.
Definition at line 224 of file DiagonalMatrix.h.
|
inline |
This is a special case of the templated operator=. Its purpose is to prevent a default operator= from hiding the templated operator=.
Definition at line 235 of file DiagonalMatrix.h.
|
inline |
Resizes to given size.
Definition at line 244 of file DiagonalMatrix.h.
|
inline |
Sets this matrix to be the identity matrix of the current size.
Definition at line 253 of file DiagonalMatrix.h.
|
inline |
Sets this matrix to be the identity matrix of the given size.
Definition at line 256 of file DiagonalMatrix.h.
|
inline |
Sets all coefficients to zero.
Definition at line 247 of file DiagonalMatrix.h.
|
inline |
Resizes and sets all coefficients to zero.
Definition at line 250 of file DiagonalMatrix.h.
|
protected |
Definition at line 154 of file DiagonalMatrix.h.