Detailed Description
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
Inherits DiagonalBase< DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > >.
List of all members.
Constructor & Destructor Documentation
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
Default constructor without initialization
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
Constructs a diagonal matrix with given dimension
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
template<typename OtherDerived >
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
template<typename OtherDerived >
generic constructor from expression of the diagonal coefficients
Member Function Documentation
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
- Returns:
- a reference to the stored vector of diagonal coefficients.
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
template<typename OtherDerived >
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
Sets this matrix to be the identity matrix of the current size.
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
Sets this matrix to be the identity matrix of the given size.
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
Sets all coefficients to zero.
template<typename _Scalar, int SizeAtCompileTime, int MaxSizeAtCompileTime>
Resizes and sets all coefficients to zero.
The documentation for this class was generated from the following file: