|
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 |
|
typedef DiagonalWrapper< const CwiseNullaryOp< internal::scalar_constant_op< Scalar >, DiagonalVectorType > > | InitializeReturnType |
|
typedef DiagonalWrapper< const CwiseNullaryOp< internal::scalar_zero_op< Scalar >, DiagonalVectorType > > | ZeroInitializeReturnType |
|
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 |
|
using | DiagonalProductReturnType = DiagonalWrapper< const EIGEN_CWISE_BINARY_RETURN_TYPE(DiagonalVectorType, typename OtherDerived::DiagonalVectorType, product)> |
|
using | DiagonalInverseReturnType = DiagonalWrapper< const CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const DiagonalVectorType > > |
|
using | DiagonalScaleReturnType = DiagonalWrapper< const EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(DiagonalVectorType, Scalar, product)> |
|
using | ScaleDiagonalReturnType = DiagonalWrapper< const EIGEN_SCALAR_BINARYOP_EXPR_RETURN_TYPE(Scalar, DiagonalVectorType, product)> |
|
using | DiagonalSumReturnType = DiagonalWrapper< const EIGEN_CWISE_BINARY_RETURN_TYPE(DiagonalVectorType, typename OtherDerived::DiagonalVectorType, sum)> |
|
using | DiagonalDifferenceReturnType = DiagonalWrapper< const EIGEN_CWISE_BINARY_RETURN_TYPE(DiagonalVectorType, typename OtherDerived::DiagonalVectorType, difference)> |
|
typedef Eigen::Index | Index |
| The interface type of indices. More...
|
|
typedef internal::traits< Derived >::StorageKind | StorageKind |
|
|
EIGEN_DEVICE_FUNC const DiagonalVectorType & | diagonal () const |
|
EIGEN_DEVICE_FUNC DiagonalVectorType & | diagonal () |
|
EIGEN_DEVICE_FUNC | DiagonalMatrix () |
|
EIGEN_DEVICE_FUNC | DiagonalMatrix (Index dim) |
|
EIGEN_DEVICE_FUNC | DiagonalMatrix (const Scalar &x, const Scalar &y) |
|
EIGEN_DEVICE_FUNC | DiagonalMatrix (const Scalar &x, const Scalar &y, const Scalar &z) |
|
template<typename... ArgTypes> |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | DiagonalMatrix (const Scalar &a0, const Scalar &a1, const Scalar &a2, const ArgTypes &... args) |
| Construct a diagonal matrix with fixed size from an arbitrary number of coefficients. More...
|
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | DiagonalMatrix (const std::initializer_list< std::initializer_list< Scalar >> &list) |
| Constructs a DiagonalMatrix and initializes it by elements given by an initializer list of initializer lists \cpp11. More...
|
|
EIGEN_DEVICE_FUNC | DiagonalMatrix (DiagonalVectorType &&diag) |
| Constructs a DiagonalMatrix from an r-value diagonal vector type. More...
|
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC | DiagonalMatrix (const DiagonalBase< OtherDerived > &other) |
|
| DiagonalMatrix (const DiagonalMatrix &other) |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC | DiagonalMatrix (const MatrixBase< OtherDerived > &other) |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC DiagonalMatrix & | operator= (const DiagonalBase< OtherDerived > &other) |
|
EIGEN_DEVICE_FUNC DiagonalMatrix & | operator= (const DiagonalMatrix &other) |
|
EIGEN_DEVICE_FUNC void | resize (Index size) |
|
EIGEN_DEVICE_FUNC void | setZero () |
|
EIGEN_DEVICE_FUNC void | setZero (Index size) |
|
EIGEN_DEVICE_FUNC void | setIdentity () |
|
EIGEN_DEVICE_FUNC void | setIdentity (Index size) |
|
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 Scalar | coeff (Index row, Index col) const |
|
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | rows () const |
|
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | cols () const |
|
EIGEN_DEVICE_FUNC const Product< DiagonalMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime >, MatrixDerived, LazyProduct > | operator* (const MatrixBase< MatrixDerived > &matrix) const |
|
EIGEN_DEVICE_FUNC const DiagonalProductReturnType< OtherDerived > | operator* (const DiagonalBase< OtherDerived > &other) const |
|
EIGEN_DEVICE_FUNC const DiagonalScaleReturnType | operator* (const Scalar &scalar) const |
|
EIGEN_DEVICE_FUNC const DiagonalInverseReturnType | inverse () const |
|
EIGEN_DEVICE_FUNC const DiagonalSumReturnType< OtherDerived > | operator+ (const DiagonalBase< OtherDerived > &other) const |
|
EIGEN_DEVICE_FUNC const DiagonalDifferenceReturnType< OtherDerived > | operator- (const DiagonalBase< OtherDerived > &other) const |
|
constexpr EIGEN_DEVICE_FUNC Derived & | derived () |
|
constexpr EIGEN_DEVICE_FUNC const Derived & | derived () const |
|
EIGEN_DEVICE_FUNC Derived & | const_cast_derived () const |
|
EIGEN_DEVICE_FUNC const Derived & | 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 |
|
template<typename Dest > |
EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
|
template<typename Dest > |
EIGEN_DEVICE_FUNC void | addTo (Dest &dst) const |
|
template<typename Dest > |
EIGEN_DEVICE_FUNC void | subTo (Dest &dst) const |
|
template<typename Dest > |
EIGEN_DEVICE_FUNC void | applyThisOnTheRight (Dest &dst) const |
|
template<typename Dest > |
EIGEN_DEVICE_FUNC void | applyThisOnTheLeft (Dest &dst) const |
|
template<typename Device > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE DeviceWrapper< Derived, Device > | device (Device &device) |
|
template<typename Device > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE DeviceWrapper< const Derived, Device > | device (Device &device) const |
|
template<typename Scalar_, int SizeAtCompileTime, int MaxSizeAtCompileTime>
class Eigen::DiagonalMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime >
Represents a diagonal matrix with its storage.
- Template 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 DiagonalBase, class DiagonalWrapper