|
| typedef SparseMatrixBase< Derived > | Base |
| |
| enum | {
RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime
, ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime
, SizeAtCompileTime = (internal::size_of_xpr_at_compile_time<Derived>::ret)
, MaxRowsAtCompileTime = RowsAtCompileTime
,
MaxColsAtCompileTime = ColsAtCompileTime
, MaxSizeAtCompileTime = internal::size_at_compile_time(MaxRowsAtCompileTime, MaxColsAtCompileTime)
, IsVectorAtCompileTime = RowsAtCompileTime == 1 || ColsAtCompileTime == 1
, NumDimensions
,
Flags = internal::traits<Derived>::Flags
, IsRowMajor = Flags & RowMajorBit ? 1 : 0
, InnerSizeAtCompileTime
, HasDirectAccess_ = (int(Flags) & DirectAccessBit) ? 1 : 0
} |
| |
| typedef internal::traits< Derived >::Scalar | Scalar |
| |
| typedef Scalar | value_type |
| |
| typedef internal::packet_traits< Scalar >::type | PacketScalar |
| |
| typedef internal::traits< Derived >::StorageKind | StorageKind |
| |
| typedef internal::traits< Derived >::StorageIndex | StorageIndex |
| |
| typedef internal::add_const_on_value_type_if_arithmetic< typename internal::packet_traits< Scalar >::type >::type | PacketReturnType |
| |
| typedef SparseMatrixBase | StorageBaseType |
| |
| typedef Matrix< StorageIndex, Dynamic, 1 > | IndexVector |
| |
| typedef Matrix< Scalar, Dynamic, 1 > | ScalarVector |
| |
| typedef std::conditional_t< NumTraits< Scalar >::IsComplex, CwiseUnaryOp< internal::scalar_conjugate_op< Scalar >, Eigen::Transpose< const Derived > >, Transpose< const Derived > > | AdjointReturnType |
| |
| typedef Transpose< Derived > | TransposeReturnType |
| |
| typedef Transpose< const Derived > | ConstTransposeReturnType |
| |
| typedef SparseMatrix< Scalar, Flags &RowMajorBit ? RowMajor :ColMajor, StorageIndex > | PlainObject |
| |
| typedef NumTraits< Scalar >::Real | RealScalar |
| |
| typedef std::conditional_t< HasDirectAccess_, const Scalar &, Scalar > | CoeffReturnType |
| |
| typedef CwiseNullaryOp< internal::scalar_constant_op< Scalar >, Matrix< Scalar, Dynamic, Dynamic > > | ConstantReturnType |
| |
| typedef Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime > | DenseMatrixType |
| |
| typedef Matrix< Scalar, internal::max_size_prefer_dynamic(RowsAtCompileTime, ColsAtCompileTime), internal::max_size_prefer_dynamic(RowsAtCompileTime, ColsAtCompileTime)> | SquareMatrixType |
| |
| typedef EigenBase< Derived > | Base |
| |
| typedef Eigen::Index | Index |
| | The interface type of indices. More...
|
| |
| typedef internal::traits< Derived >::StorageKind | StorageKind |
| |
|
| Index | nonZeros () const |
| |
| const Scalar * | valuePtr () const |
| |
| Scalar * | valuePtr () |
| |
| const StorageIndex * | innerIndexPtr () const |
| |
| StorageIndex * | innerIndexPtr () |
| |
| const StorageIndex * | outerIndexPtr () const |
| |
| StorageIndex * | outerIndexPtr () |
| |
| const StorageIndex * | innerNonZeroPtr () const |
| |
| StorageIndex * | innerNonZeroPtr () |
| |
| bool | isCompressed () const |
| |
| const Map< const Array< Scalar, Dynamic, 1 > > | coeffs () const |
| |
| Map< Array< Scalar, Dynamic, 1 > > | coeffs () |
| |
| template<class Comp = std::less<>> |
| void | sortInnerIndices (Index begin, Index end) |
| |
| template<class Comp = std::less<>> |
| Index | innerIndicesAreSorted (Index begin, Index end) const |
| |
| template<class Comp = std::less<>> |
| void | sortInnerIndices () |
| |
| template<class Comp = std::less<>> |
| Index | innerIndicesAreSorted () const |
| |
| template<typename OtherDerived > |
| Derived & | operator= (const EigenBase< OtherDerived > &other) |
| |
| template<typename OtherDerived > |
| Derived & | operator= (const ReturnByValue< OtherDerived > &other) |
| |
| template<typename OtherDerived > |
| Derived & | operator= (const SparseMatrixBase< OtherDerived > &other) |
| |
| Derived & | operator= (const Derived &other) |
| |
| template<typename OtherDerived > |
| Derived & | operator= (const EigenBase< OtherDerived > &other) |
| |
| const Derived & | derived () const |
| |
| Derived & | derived () |
| |
| Derived & | const_cast_derived () const |
| |
| Index | rows () const |
| |
| Index | cols () const |
| |
| Index | size () const |
| |
| bool | isVector () const |
| |
| Index | outerSize () const |
| |
| Index | innerSize () const |
| |
| bool | isRValue () const |
| |
| Derived & | markAsRValue () |
| |
| | SparseMatrixBase () |
| |
| template<typename OtherDerived > |
| Derived & | operator= (const ReturnByValue< OtherDerived > &other) |
| |
| template<typename OtherDerived > |
| Derived & | operator= (const SparseMatrixBase< OtherDerived > &other) |
| |
| Derived & | operator= (const Derived &other) |
| |
| template<typename OtherDerived > |
| Derived & | operator+= (const SparseMatrixBase< OtherDerived > &other) |
| |
| template<typename OtherDerived > |
| Derived & | operator-= (const SparseMatrixBase< OtherDerived > &other) |
| |
| template<typename OtherDerived > |
| Derived & | operator+= (const DiagonalBase< OtherDerived > &other) |
| |
| template<typename OtherDerived > |
| Derived & | operator-= (const DiagonalBase< OtherDerived > &other) |
| |
| template<typename OtherDerived > |
| Derived & | operator+= (const EigenBase< OtherDerived > &other) |
| |
| template<typename OtherDerived > |
| Derived & | operator-= (const EigenBase< OtherDerived > &other) |
| |
| Derived & | operator*= (const Scalar &other) |
| |
| Derived & | operator/= (const Scalar &other) |
| |
| template<typename OtherDerived > |
| EIGEN_STRONG_INLINE const CwiseProductDenseReturnType< OtherDerived >::Type | cwiseProduct (const MatrixBase< OtherDerived > &other) const |
| |
| template<typename OtherDerived > |
| const Product< Derived, OtherDerived > | operator* (const DiagonalBase< OtherDerived > &other) const |
| |
| template<typename OtherDerived > |
| const Product< Derived, OtherDerived, AliasFreeProduct > | operator* (const SparseMatrixBase< OtherDerived > &other) const |
| |
| template<typename OtherDerived > |
| const Product< Derived, OtherDerived > | operator* (const MatrixBase< OtherDerived > &other) const |
| |
| SparseSymmetricPermutationProduct< Derived, Upper|Lower > | twistedBy (const PermutationMatrix< Dynamic, Dynamic, StorageIndex > &perm) const |
| |
| template<typename OtherDerived > |
| Derived & | operator*= (const SparseMatrixBase< OtherDerived > &other) |
| |
| template<int Mode> |
| const TriangularView< const Derived, Mode > | triangularView () const |
| |
| template<unsigned int UpLo> |
| ConstSelfAdjointViewReturnType< UpLo >::Type | selfadjointView () const |
| |
| template<unsigned int UpLo> |
| SelfAdjointViewReturnType< UpLo >::Type | selfadjointView () |
| |
| template<typename OtherDerived > |
| Scalar | dot (const MatrixBase< OtherDerived > &other) const |
| |
| template<typename OtherDerived > |
| Scalar | dot (const SparseMatrixBase< OtherDerived > &other) const |
| |
| RealScalar | squaredNorm () const |
| |
| RealScalar | norm () const |
| |
| RealScalar | blueNorm () const |
| |
| TransposeReturnType | transpose () |
| |
| const ConstTransposeReturnType | transpose () const |
| |
| const AdjointReturnType | adjoint () const |
| |
| DenseMatrixType | toDense () const |
| |
| template<typename OtherDerived > |
| bool | isApprox (const SparseMatrixBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
| |
| template<typename OtherDerived > |
| bool | isApprox (const MatrixBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
| |
| const internal::eval< Derived >::type | eval () const |
| |
| Scalar | sum () const |
| |
| const SparseView< Derived > | pruned (const Scalar &reference=Scalar(0), const RealScalar &epsilon=NumTraits< Scalar >::dummy_precision()) const |
| |
| template<typename OtherDerived > |
| EIGEN_STRONG_INLINE Derived & | operator-= (const SparseMatrixBase< OtherDerived > &other) |
| |
| template<typename OtherDerived > |
| EIGEN_STRONG_INLINE Derived & | operator+= (const SparseMatrixBase< OtherDerived > &other) |
| |
| template<typename OtherDerived > |
| EIGEN_STRONG_INLINE const SparseMatrixBase< Derived >::template CwiseProductDenseReturnType< OtherDerived >::Type | cwiseProduct (const MatrixBase< OtherDerived > &other) const |
| |
| template<typename OtherDerived > |
| internal::traits< Derived >::Scalar | dot (const MatrixBase< OtherDerived > &other) const |
| |
| template<typename OtherDerived > |
| internal::traits< Derived >::Scalar | dot (const SparseMatrixBase< OtherDerived > &other) const |
| |
| template<unsigned int UpLo> |
| SparseMatrixBase< Derived >::template ConstSelfAdjointViewReturnType< UpLo >::Type | selfadjointView () const |
| |
| template<unsigned int UpLo> |
| SparseMatrixBase< Derived >::template SelfAdjointViewReturnType< UpLo >::Type | selfadjointView () |
| |
| 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 Derived>
class Eigen::SparseCompressedBase< Derived >
Common base class for sparse [compressed]-{row|column}-storage format.
This class defines the common interface for all derived classes implementing the compressed sparse storage format, such as:
- SparseMatrix
- Ref<SparseMatrixType,Options>
- Map<SparseMatrixType>