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

A sparse vector expression referencing an existing sparse vector expression.

Template parameters
SparseVectorType the equivalent sparse vector type of the referenced data, it must be a template instance of class SparseVector.

Base classes

template<typename Derived>
class SparseMapBase<Derived, WriteAccessors>
Common base class for writable Map and Ref instance of sparse matrix and vector.

Constructors, destructors, conversion operators

template<typename Derived>
Ref(SparseCompressedBase<Derived>& expr)

Function documentation

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

Implicit constructor from any 1D sparse vector expression