G+Smo  23.12.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
< gsSparseVector
Ptr
 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::SparseMatrixBase< OtherDerived > &other)
 
template<typename OtherDerived >
 gsSparseVector (const gsEigen::ReturnByValue< OtherDerived > &other)
 

Constructor & Destructor Documentation

gsSparseVector ( const gsEigen::EigenBase< OtherDerived > &  other)
inline

This constructor allows constructing a gsSparseVector from Eigen expressions

gsSparseVector ( const gsEigen::MatrixBase< OtherDerived > &  other)
inline

This constructor allows constructing a gsSparseVector from another sparse expression

gsSparseVector ( const gsEigen::SparseMatrixBase< OtherDerived > &  other)
inline

This constructor allows constructing a gsSparseVector from another sparse expression

gsSparseVector ( const gsEigen::ReturnByValue< OtherDerived > &  other)
inline

This constructor allows constructing a gsSparseVector from another sparse expression