template<typename Scalar_, int SizeAtCompileTime, int MaxSizeAtCompileTime, typename StorageIndex_>
class Eigen::ScaledPermutationMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime, StorageIndex_ >
Scaled permutation matrix \(P D\) with its storage.
- Template Parameters
-
| Scalar_ | the type of the scales |
| SizeAtCompileTime | the number of rows/cols, or Dynamic |
| MaxSizeAtCompileTime | the maximum number of rows/cols, or Dynamic; defaults to SizeAtCompileTime |
| StorageIndex_ | the integer type of the permutation's indices |
This is the type returned by the products of a permutation (or its inverse) and a diagonal matrix, in either order. See ScaledPermutationBase for the operations.
- See also
- class ScaledPermutationBase, class PermutationMatrix, class DiagonalMatrix
|
| constexpr IndicesType & | indices () |
| |
| constexpr const IndicesType & | indices () const |
| |
| template<typename OtherDerived> |
| ScaledPermutationMatrix & | operator= (const ScaledPermutationBase< OtherDerived > &other) |
| |
| PermutationType & | permutation () |
| |
| const PermutationType & | permutation () const |
| |
| void | resize (Index size) |
| |
| | ScaledPermutationMatrix ()=default |
| |
| template<typename OtherDerived> |
| | ScaledPermutationMatrix (const DiagonalBase< OtherDerived > &diagonal) |
| |
| template<typename IndicesDerived, typename ScalesDerived> |
| | ScaledPermutationMatrix (const MatrixBase< IndicesDerived > &indices, const MatrixBase< ScalesDerived > &scales) |
| |
| template<typename OtherDerived> |
| | ScaledPermutationMatrix (const PermutationBase< OtherDerived > &permutation) |
| |
| template<typename PermutationDerived, typename DiagonalDerived> |
| | ScaledPermutationMatrix (const PermutationBase< PermutationDerived > &permutation, const DiagonalBase< DiagonalDerived > &diagonal) |
| |
| template<typename OtherDerived> |
| | ScaledPermutationMatrix (const ScaledPermutationBase< OtherDerived > &other) |
| |
| | ScaledPermutationMatrix (Index size) |
| |
| ScalesType & | scales () |
| |
| const ScalesType & | scales () const |
| |
| void | setIdentity () |
| |
| void | setIdentity (Index size) |
| |
| PlainObject | adjoint () const |
| |
| Scalar | coeff (Index row, Index col) const |
| |
| constexpr Index | cols () const |
| |
| Scalar | determinant () const |
| |
| constexpr const IndicesType & | indices () const |
| |
| PlainObject | inverse () const |
| |
| internal::scaled_permutation_product_result< ScaledPermutationMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime, StorageIndex_ >, OtherDerived, StorageIndex >::type | operator* (const DiagonalBase< OtherDerived > &other) const |
| |
| PlainObject | operator* (const InverseImpl< OtherDerived, PermutationStorage > &other) const |
| |
| const Product< ScaledPermutationMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime, StorageIndex_ >, OtherDerived, DefaultProduct > | operator* (const MatrixBase< OtherDerived > &other) const |
| |
| PlainObject | operator* (const PermutationBase< OtherDerived > &other) const |
| |
| PlainObject | operator* (const Scalar &alpha) const |
| |
| internal::scaled_permutation_product_result< ScaledPermutationMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime, StorageIndex_ >, OtherDerived, StorageIndex >::type | operator* (const ScaledPermutationBase< OtherDerived > &other) const |
| |
| const Product< ScaledPermutationMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime, StorageIndex_ >, OtherDerived, DefaultProduct > | operator* (const TriangularBase< OtherDerived > &other) const |
| |
| PlainObject | operator- () const |
| |
| const PermutationType & | permutation () const |
| |
| constexpr Index | rows () const |
| |
| const ScalesType & | scales () const |
| |
| DenseMatrixType | toDenseMatrix () const |
| |
| PlainObject | transpose () const |
| |
| constexpr Index | cols () const noexcept |
| |
| constexpr ScaledPermutationMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime, StorageIndex_ > & | derived () |
| |
| constexpr const ScaledPermutationMatrix< Scalar_, SizeAtCompileTime, MaxSizeAtCompileTime, StorageIndex_ > & | derived () const |
| |
| constexpr Index | rows () const noexcept |
| |
| constexpr Index | size () const noexcept |
| |
|
(Note that these are not member symbols.)
|
| template<typename DiagonalDerived, typename PermutationType> |
| internal::scaled_permutation_result< typenameDiagonalDerived::Scalar, PermutationType, DiagonalDerived, typenamePermutationType::StorageIndex >::type | operator* (const DiagonalBase< DiagonalDerived > &diagonal, const InverseImpl< PermutationType, PermutationStorage > &inverse) |
| |
| template<typename DiagonalDerived, typename PermutationDerived> |
| internal::scaled_permutation_result< typenameDiagonalDerived::Scalar, PermutationDerived, DiagonalDerived, typenamePermutationDerived::StorageIndex >::type | operator* (const DiagonalBase< DiagonalDerived > &diagonal, const PermutationBase< PermutationDerived > &permutation) |
| |
| template<typename PermutationType, typename DiagonalDerived> |
| internal::scaled_permutation_result< typenameDiagonalDerived::Scalar, PermutationType, DiagonalDerived, typenamePermutationType::StorageIndex >::type | operator* (const InverseImpl< PermutationType, PermutationStorage > &inverse, const DiagonalBase< DiagonalDerived > &diagonal) |
| |
| template<typename PermutationDerived, typename DiagonalDerived> |
| internal::scaled_permutation_result< typenameDiagonalDerived::Scalar, PermutationDerived, DiagonalDerived, typenamePermutationDerived::StorageIndex >::type | operator* (const PermutationBase< PermutationDerived > &permutation, const DiagonalBase< DiagonalDerived > &diagonal) |
| |