G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
gsSparseVector< T, _Options, _Index > Class Template Reference

Detailed Description

template<typename T, int _Options, typename _Index>
class gismo::gsSparseVector< T, _Options, _Index >

Sparse vector class, based on gsEigen::SparseVector.

Template Parameters
Tcoefficient type
_Optionzero is ColMajor order.
_Indexindex type

Inherits SparseVector< T, _Options, _Index >.

Public Types

typedef memory::shared_ptr< gsSparseVectorPtr
 Shared pointer for gsSparseVector.
 

Public Member Functions

gsSparseVectorclone () const
 Clone function. Used to make a copy of the matrix.
 
template<typename OtherDerived >
 gsSparseVector (const gsEigen::EigenBase< OtherDerived > &other)
 
template<typename OtherDerived >
 gsSparseVector (const gsEigen::MatrixBase< OtherDerived > &other)
 
template<typename OtherDerived >
 gsSparseVector (const gsEigen::ReturnByValue< OtherDerived > &other)
 
template<typename OtherDerived >
 gsSparseVector (const gsEigen::SparseMatrixBase< OtherDerived > &other)
 

Constructor & Destructor Documentation

◆ gsSparseVector() [1/4]

template<typename T , int _Options, typename _Index >
template<typename OtherDerived >
gsSparseVector ( const gsEigen::EigenBase< OtherDerived > &  other)
inline

This constructor allows constructing a gsSparseVector from Eigen expressions

◆ gsSparseVector() [2/4]

template<typename T , int _Options, typename _Index >
template<typename OtherDerived >
gsSparseVector ( const gsEigen::MatrixBase< OtherDerived > &  other)
inline

This constructor allows constructing a gsSparseVector from another sparse expression

◆ gsSparseVector() [3/4]

template<typename T , int _Options, typename _Index >
template<typename OtherDerived >
gsSparseVector ( const gsEigen::SparseMatrixBase< OtherDerived > &  other)
inline

This constructor allows constructing a gsSparseVector from another sparse expression

◆ gsSparseVector() [4/4]

template<typename T , int _Options, typename _Index >
template<typename OtherDerived >
gsSparseVector ( const gsEigen::ReturnByValue< OtherDerived > &  other)
inline

This constructor allows constructing a gsSparseVector from another sparse expression