On this page
Eigen::Ref
template<typename SparseMatrixType, int Options>
class Eigen::Ref< SparseMatrixType, Options >
A sparse matrix expression referencing an existing sparse expression.
- Template Parameters
-
SparseMatrixType the equivalent sparse matrix type of the referenced data, it must be a template instance of class SparseMatrix. Options specifies whether the a standard compressed format is required OptionsisStandardCompressedFormat, or0. The default is0.
- See also
- class Ref
| template<typename Derived > | |
| Ref (SparseCompressedBase< Derived > &expr) | |
| Scalar & | coeffRef (Index row, Index col) |
| StorageIndex * | innerIndexPtr () |
| StorageIndex * | innerNonZeroPtr () |
| StorageIndex * | outerIndexPtr () |
| Scalar * | valuePtr () |
| ~SparseMapBase () | |
| Scalar | coeff (Index row, Index col) const |
| Index | cols () const |
| const StorageIndex * | innerIndexPtr () const |
| const StorageIndex * | innerNonZeroPtr () const |
| Index | innerSize () const |
| bool | isCompressed () const |
| Index | nonZeros () const |
| const StorageIndex * | outerIndexPtr () const |
| Index | outerSize () const |
| Index | rows () const |
| const Scalar * | valuePtr () const |
| ~SparseMapBase () | |
| Map< Array< Scalar, Dynamic, 1 > > | coeffs () |
| const Map< const Array< Scalar, Dynamic, 1 > > | coeffs () const |
| StorageIndex * | innerIndexPtr () |
| const StorageIndex * | innerIndexPtr () const |
| StorageIndex * | innerNonZeroPtr () |
| const StorageIndex * | innerNonZeroPtr () const |
| bool | isCompressed () const |
| Index | nonZeros () const |
| StorageIndex * | outerIndexPtr () |
| const StorageIndex * | outerIndexPtr () const |
| Scalar * | valuePtr () |
| const Scalar * | valuePtr () const |
| Index | cols () const |
| const internal::eval< Derived >::type | eval () const |
| Index | innerSize () const |
| bool | isVector () const |
| template<typename OtherDerived > | |
| const Product< Derived, OtherDerived, AliasFreeProduct > | operator* (const SparseMatrixBase< OtherDerived > &other) const |
| Index | outerSize () const |
| const SparseView< Derived > | pruned (const Scalar &reference=Scalar(0), const RealScalar &epsilon=NumTraits< Scalar >::dummy_precision()) const |
| Index | rows () const |
| Index | size () const |
| SparseSymmetricPermutationProduct< Derived, Upper|Lower > | twistedBy (const PermutationMatrix< Dynamic, Dynamic, StorageIndex > &perm) const |
| EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
| Derived & | derived () |
| const Derived & | derived () const |
| EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
| EIGEN_CONSTEXPR Index | size () const EIGEN_NOEXCEPT |
| enum | { RowsAtCompileTime , ColsAtCompileTime , SizeAtCompileTime , MaxRowsAtCompileTime , MaxColsAtCompileTime , MaxSizeAtCompileTime , IsVectorAtCompileTime , NumDimensions , Flags , IsRowMajor , InnerSizeAtCompileTime } |
| typedef internal::traits< Derived >::StorageIndex | StorageIndex |
| typedef Scalar | value_type |
| typedef Eigen::Index | Index |
| The interface type of indices. More... |
|
| SparseCompressedBase () | |
Ref()
template<typename SparseMatrixType , int Options>
template<typename Derived >
|
inline |
Implicit constructor from any sparse expression (2D matrix or 1D vector)
The documentation for this class was generated from the following file:
© Eigen.
Licensed under the MPL2 License.
https://eigen.tuxfamily.org/dox/classEigen_1_1Ref_3_01SparseMatrixType_00_01Options_01_4.html