Please, help us to better know about our user community by answering the following short survey: https://forms.gle/wpyrxWi18ox9Z5ae9
Eigen  3.3.71
Eigen::Ref< SparseVectorType > Class Template Reference

Detailed Description

template<typename SparseVectorType>
class Eigen::Ref< SparseVectorType >

A sparse vector expression referencing an existing sparse vector expression.

Template Parameters
SparseVectorTypethe equivalent sparse vector type of the referenced data, it must be a template instance of class SparseVector.
See also
class Ref
+ Inheritance diagram for Eigen::Ref< SparseVectorType >:

Public Member Functions

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 ()
 
- Public Member Functions inherited from Eigen::SparseMapBase< Derived, ReadOnlyAccessors >
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 ()
 
- Public Member Functions inherited from Eigen::SparseCompressedBase< Derived >
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
 

Additional Inherited Members

- Protected Member Functions inherited from Eigen::SparseCompressedBase< Derived >
 SparseCompressedBase ()
 

Constructor & Destructor Documentation

◆ Ref()

template<typename SparseVectorType >
template<typename Derived >
Eigen::Ref< SparseVectorType >::Ref ( SparseCompressedBase< Derived > &  expr)
inline

Implicit constructor from any 1D sparse vector expression


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