|
typedef internal::traits< DiagonalMatrix >::DiagonalVectorType | DiagonalVectorType |
|
typedef const DiagonalMatrix & | Nested |
|
typedef _Scalar | Scalar |
|
typedef internal::traits< DiagonalMatrix >::StorageKind | StorageKind |
|
typedef internal::traits< DiagonalMatrix >::StorageIndex | StorageIndex |
|
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 > >::StorageIndex | StorageIndex |
|
typedef Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime, 0, MaxRowsAtCompileTime, MaxColsAtCompileTime > | DenseMatrixType |
|
typedef DenseMatrixType | DenseType |
|
typedef DiagonalMatrix< Scalar, DiagonalVectorType::SizeAtCompileTime, DiagonalVectorType::MaxSizeAtCompileTime > | PlainObject |
|
typedef DiagonalWrapper< const CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const DiagonalVectorType > > | InverseReturnType |
|
typedef Eigen::Index | Index |
| The interface type of indices. More...
|
|
typedef internal::traits< DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > >::StorageKind | StorageKind |
|
|
EIGEN_DEVICE_FUNC const DiagonalVectorType & | diagonal () const |
| const version of diagonal(). More...
|
|
EIGEN_DEVICE_FUNC DiagonalVectorType & | diagonal () |
|
EIGEN_DEVICE_FUNC | DiagonalMatrix () |
| Default constructor without initialization. More...
|
|
EIGEN_DEVICE_FUNC | DiagonalMatrix (Index dim) |
| Constructs a diagonal matrix with given dimension
More...
|
|
EIGEN_DEVICE_FUNC | DiagonalMatrix (const Scalar &x, const Scalar &y) |
| 2D constructor. More...
|
|
EIGEN_DEVICE_FUNC | DiagonalMatrix (const Scalar &x, const Scalar &y, const Scalar &z) |
| 3D constructor. More...
|
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC | DiagonalMatrix (const DiagonalBase< OtherDerived > &other) |
| Copy constructor. More...
|
|
| DiagonalMatrix (const DiagonalMatrix &other) |
| copy constructor. More...
|
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC | DiagonalMatrix (const MatrixBase< OtherDerived > &other) |
| generic constructor from expression of the diagonal coefficients More...
|
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC DiagonalMatrix & | operator= (const DiagonalBase< OtherDerived > &other) |
| Copy operator. More...
|
|
EIGEN_DEVICE_FUNC DiagonalMatrix & | operator= (const DiagonalMatrix &other) |
| This is a special case of the templated operator=. More...
|
|
EIGEN_DEVICE_FUNC void | resize (Index size) |
| Resizes to given size. More...
|
|
EIGEN_DEVICE_FUNC void | setZero () |
| Sets all coefficients to zero. More...
|
|
EIGEN_DEVICE_FUNC void | setZero (Index size) |
| Resizes and sets all coefficients to zero. More...
|
|
EIGEN_DEVICE_FUNC void | setIdentity () |
| Sets this matrix to be the identity matrix of the current size. More...
|
|
EIGEN_DEVICE_FUNC void | setIdentity (Index size) |
| Sets this matrix to be the identity matrix of the given size. More...
|
|
EIGEN_DEVICE_FUNC const DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > & | derived () const |
|
EIGEN_DEVICE_FUNC DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > & | derived () |
|
EIGEN_DEVICE_FUNC DenseMatrixType | toDenseMatrix () const |
|
EIGEN_DEVICE_FUNC const DiagonalVectorType & | diagonal () const |
|
EIGEN_DEVICE_FUNC DiagonalVectorType & | diagonal () |
|
EIGEN_DEVICE_FUNC Index | rows () const |
|
EIGEN_DEVICE_FUNC Index | cols () const |
|
EIGEN_DEVICE_FUNC const Product< DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >, MatrixDerived, LazyProduct > | operator* (const MatrixBase< MatrixDerived > &matrix) const |
|
EIGEN_DEVICE_FUNC const DiagonalWrapper< const EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(DiagonalVectorType, Scalar, product) > | operator* (const Scalar &scalar) const |
|
EIGEN_DEVICE_FUNC const InverseReturnType | inverse () const |
|
EIGEN_DEVICE_FUNC const DiagonalWrapper< const EIGEN_CWISE_BINARY_RETURN_TYPE(DiagonalVectorType, typename OtherDerived::DiagonalVectorType, sum) > | operator+ (const DiagonalBase< OtherDerived > &other) const |
|
EIGEN_DEVICE_FUNC const DiagonalWrapper< const EIGEN_CWISE_BINARY_RETURN_TYPE(DiagonalVectorType, typename OtherDerived::DiagonalVectorType, difference) > | operator- (const DiagonalBase< OtherDerived > &other) const |
|
EIGEN_DEVICE_FUNC DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > & | derived () |
|
EIGEN_DEVICE_FUNC const DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > & | derived () const |
|
EIGEN_DEVICE_FUNC DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > & | const_cast_derived () const |
|
EIGEN_DEVICE_FUNC const DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > & | const_derived () const |
|
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
|
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
|
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | size () const EIGEN_NOEXCEPT |
|
EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
|
EIGEN_DEVICE_FUNC void | addTo (Dest &dst) const |
|
EIGEN_DEVICE_FUNC void | subTo (Dest &dst) const |
|
EIGEN_DEVICE_FUNC void | applyThisOnTheRight (Dest &dst) const |
|
EIGEN_DEVICE_FUNC 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