Eigen::DiagonalMatrix
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 > >.
DiagonalMatrix() [1/7]
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
Default constructor without initialization
DiagonalMatrix() [2/7]
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
Constructs a diagonal matrix with given dimension
DiagonalMatrix() [3/7]
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
DiagonalMatrix() [4/7]
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
DiagonalMatrix() [5/7]
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
template<typename... ArgTypes>
Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::DiagonalMatrix |
( |
const Scalar & |
a0, |
|
|
const Scalar & |
a1, |
|
|
const Scalar & |
a2, |
|
|
const ArgTypes &... |
args |
|
) |
|
|
|
inline |
DiagonalMatrix() [6/7]
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
template<typename OtherDerived >
DiagonalMatrix() [7/7]
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
template<typename OtherDerived >
generic constructor from expression of the diagonal coefficients
diagonal() [1/2]
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
DiagonalVectorType& Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::diagonal |
( |
|
) |
|
|
inline |
-
Returns
-
a reference to the stored vector of diagonal coefficients.
diagonal() [2/2]
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
const DiagonalVectorType& Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::diagonal |
( |
|
) |
const |
|
inline |
operator=()
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
template<typename OtherDerived >
resize()
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
setIdentity() [1/2]
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
Sets this matrix to be the identity matrix of the current size.
setIdentity() [2/2]
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
Sets this matrix to be the identity matrix of the given size.
setZero() [1/2]
template<typename _Scalar , int SizeAtCompileTime, int MaxSizeAtCompileTime>
Sets all coefficients to zero.
setZero() [2/2]
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: