Base class of any sparse matrices or sparse expressions.
| Derived | is the derived type, e.g. a sparse matrix type, or an expression, etc. | 
This class can be extended with the help of the plugin mechanism described on the page Extending MatrixBase (and other classes) by defining the preprocessor symbol EIGEN_SPARSEMATRIXBASE_PLUGIN. 
| 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... | |
| 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 | 
| typedef internal::traits<Derived>::StorageIndex Eigen::SparseMatrixBase< Derived >::StorageIndex | 
The integer type used to store indices within a SparseMatrix. For a SparseMatrix<Scalar,Options,IndexType> it an alias of the third template parameter IndexType. 
| typedef Scalar Eigen::SparseMatrixBase< Derived >::value_type | 
The numeric type of the expression' coefficients, e.g. float, double, int or std::complex<float>, etc.
It is an alias for the Scalar type
| anonymous enum | 
| Enumerator | |
|---|---|
| RowsAtCompileTime | The number of rows at compile-time. This is just a copy of the value provided by the Derived type. If a value is not known at compile-time, it is set to the Dynamic constant. | 
| ColsAtCompileTime | The number of columns at compile-time. This is just a copy of the value provided by the Derived type. If a value is not known at compile-time, it is set to the Dynamic constant. | 
| SizeAtCompileTime | This is equal to the number of coefficients, i.e. the number of rows times the number of columns, or to Dynamic if this is not known at compile-time. 
 | 
| IsVectorAtCompileTime | This is set to true if either the number of rows or the number of columns is known at compile-time to be equal to 1. Indeed, in that case, we are dealing with a column-vector (if there is only one column) or with a row-vector (if there is only one row). | 
| NumDimensions | This value is equal to Tensor::NumDimensions, i.e. 0 for scalars, 1 for vectors, and 2 for matrices. | 
| Flags | This stores expression Flags flags which may or may not be inherited by new expressions constructed from this one. See the list of flags. | 
| 
 | inline | 
| 
 | inline | 
Notice that in the case of a plain matrix or vector (not an expression) this function just returns a const reference, in order to avoid a useless copy.
| 
 | inline | 
| 
 | inline | 
rows()==1 || cols()==1
| 
 | inline | 
C = (A*B).pruned(); // suppress numerical zeros (exact) C = (A*B).pruned(ref); C = (A*B).pruned(ref,epsilon);where
ref is a meaningful non zero reference value. | 
 | inline | 
| 
 | inline | 
*this with values smaller than reference * epsilon removed.This method is typically used in conjunction with the product of two sparse matrices to automatically prune the smallest values as follows:
C = (A*B).pruned(); // suppress numerical zeros (exact) C = (A*B).pruned(ref); C = (A*B).pruned(ref,epsilon);
 where ref is a meaningful non zero reference value. 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
*this 
    © Eigen.
Licensed under the MPL2 License.
    https://eigen.tuxfamily.org/dox/classEigen_1_1SparseMatrixBase.html