Eigen  3.4.90 (git rev 9589cc4e7fd8e4538bedef80dd36c7738977a8be)
 
Loading...
Searching...
No Matches
Eigen::Ref< SparseMatrixType, Options > Class Template Reference

#include <Eigen/src/SparseCore/SparseRef.h>

Detailed Description

template<typename SparseMatrixType, int Options>
class Eigen::Ref< SparseMatrixType, Options >

A sparse matrix expression referencing an existing sparse expression.

Template Parameters
SparseMatrixTypethe equivalent sparse matrix type of the referenced data, it must be a template instance of class SparseMatrix.
Optionsspecifies whether the a standard compressed format is required Options is StandardCompressedFormat, or 0. The default is 0.
See also
class Ref
+ Inheritance diagram for Eigen::Ref< SparseMatrixType, Options >:

Public Member Functions

 Ref (DenseBase< Derived > &expr)
 
template<typename Derived>
 Ref (SparseCompressedBase< Derived > &expr)
 
- Public Member Functions inherited from Eigen::SparseMapBase< Derived, WriteAccessors >
Scalar & coeffRef (Index row, Index col)
 
StorageIndex * innerIndexPtr ()
 
StorageIndex * innerNonZeroPtr ()
 
StorageIndex * outerIndexPtr ()
 
Scalar * valuePtr ()
 
 ~SparseMapBase ()
 

Constructor & Destructor Documentation

◆ Ref() [1/2]

template<typename SparseMatrixType, int Options>
template<typename Derived>
Eigen::Ref< SparseMatrixType, Options >::Ref ( SparseCompressedBase< Derived > & expr)
inline

Implicit constructor from any sparse expression (2D matrix or 1D vector)

◆ Ref() [2/2]

Eigen::Ref< SparseMatrixType, Options, typename std::conditional_t<SparseMatrixType::IsVectorAtCompileTime, InnerStride<1>, OuterStride<>> >::Ref ( DenseBase< Derived > & expr)
inline

Implicit constructor from any dense expression


The documentation for this class was generated from the following file: