|
typedef DiagonalWrapper< const CwiseNullaryOp< internal::scalar_constant_op< Scalar >, DiagonalVectorType > > | InitializeReturnType |
|
enum | |
|
typedef Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime, 0, MaxRowsAtCompileTime, MaxColsAtCompileTime > | DenseMatrixType |
|
typedef DenseMatrixType | DenseType |
|
using | DiagonalDifferenceReturnType = DiagonalWrapper< const CwiseBinaryOp< internal::scalar_difference_op< DiagonalVectorType ::Scalar, typename OtherDerived::DiagonalVectorType ::Scalar >, const DiagonalVectorType, const typename OtherDerived::DiagonalVectorType > > |
|
using | DiagonalInverseReturnType = DiagonalWrapper< const CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const DiagonalVectorType > > |
|
using | DiagonalProductReturnType = DiagonalWrapper< const CwiseBinaryOp< internal::scalar_product_op< DiagonalVectorType ::Scalar, typename OtherDerived::DiagonalVectorType ::Scalar >, const DiagonalVectorType, const typename OtherDerived::DiagonalVectorType > > |
|
using | DiagonalScaleReturnType = DiagonalWrapper< const EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(DiagonalVectorType, Scalar, product)> |
|
using | DiagonalSumReturnType = DiagonalWrapper< const CwiseBinaryOp< internal::scalar_sum_op< DiagonalVectorType ::Scalar, typename OtherDerived::DiagonalVectorType ::Scalar >, const DiagonalVectorType, const typename OtherDerived::DiagonalVectorType > > |
|
typedef internal::traits< DiagonalMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime > >::DiagonalVectorType | DiagonalVectorType |
|
typedef DiagonalMatrix< Scalar, DiagonalVectorType::SizeAtCompileTime, DiagonalVectorType::MaxSizeAtCompileTime > | PlainObject |
|
typedef DiagonalVectorType::RealScalar | RealScalar |
|
typedef DiagonalVectorType::Scalar | Scalar |
|
using | ScaleDiagonalReturnType = DiagonalWrapper< const EIGEN_SCALAR_BINARYOP_EXPR_RETURN_TYPE(Scalar, DiagonalVectorType, product)> |
|
typedef internal::traits< DiagonalMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime > >::StorageIndex | StorageIndex |
|
typedef internal::traits< DiagonalMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime > >::StorageKind | StorageKind |
|
typedef Eigen::Index | Index |
| The interface type of indices. More...
|
|
typedef internal::traits< Derived >::StorageKind | StorageKind |
|
|
DiagonalVectorType & | diagonal () |
|
const DiagonalVectorType & | diagonal () const |
|
| DiagonalMatrix () |
|
template<typename OtherDerived > |
| DiagonalMatrix (const DiagonalBase< OtherDerived > &other) |
|
template<typename OtherDerived > |
| DiagonalMatrix (const MatrixBase< OtherDerived > &other) |
|
template<typename... ArgTypes> |
| 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...
|
|
| DiagonalMatrix (const Scalar &x, const Scalar &y) |
|
| DiagonalMatrix (const Scalar &x, const Scalar &y, const Scalar &z) |
|
| 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 [c++11] More...
|
|
| DiagonalMatrix (DiagonalVectorType &&diag) |
| Constructs a DiagonalMatrix from an r-value diagonal vector type. More...
|
|
| DiagonalMatrix (Index dim) |
|
template<typename OtherDerived > |
DiagonalMatrix & | operator= (const DiagonalBase< OtherDerived > &other) |
|
void | resize (Index size) |
|
void | setIdentity () |
|
void | setIdentity (Index size) |
|
void | setZero () |
|
void | setZero (Index size) |
|
Scalar | coeff (Index row, Index col) const |
|
EIGEN_CONSTEXPR Index | cols () const |
|
DiagonalMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime > & | derived () |
|
const DiagonalMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime > & | derived () const |
|
DiagonalVectorType & | diagonal () |
|
const DiagonalVectorType & | diagonal () const |
|
const DiagonalInverseReturnType | inverse () const |
|
const DiagonalProductReturnType< OtherDerived > | operator* (const DiagonalBase< OtherDerived > &other) const |
|
const Product< DiagonalMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime >, MatrixDerived, LazyProduct > | operator* (const MatrixBase< MatrixDerived > &matrix) const |
|
const DiagonalScaleReturnType | operator* (const Scalar &scalar) const |
|
const DiagonalSumReturnType< OtherDerived > | operator+ (const DiagonalBase< OtherDerived > &other) const |
|
const DiagonalDifferenceReturnType< OtherDerived > | operator- (const DiagonalBase< OtherDerived > &other) const |
|
EIGEN_CONSTEXPR Index | rows () const |
|
DenseMatrixType | toDenseMatrix () const |
|
template<typename Dest > |
void | addTo (Dest &dst) const |
|
template<typename Dest > |
void | applyThisOnTheLeft (Dest &dst) const |
|
template<typename Dest > |
void | applyThisOnTheRight (Dest &dst) const |
|
EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
|
Derived & | const_cast_derived () const |
|
const Derived & | const_derived () const |
|
Derived & | derived () |
|
const Derived & | derived () const |
|
template<typename Dest > |
void | evalTo (Dest &dst) const |
|
EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
|
EIGEN_CONSTEXPR Index | size () const EIGEN_NOEXCEPT |
|
template<typename Dest > |
void | subTo (Dest &dst) 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
Definition at line 183 of file DiagonalMatrix.h.