G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsSparseEntries< T > Class Template Reference

Detailed Description

template<typename T>
class gismo::gsSparseEntries< T >

Class that provides a container for triplets (i,j,value) to be filled in a sparse matrix.

Constructing a sparse matrix from triplets is much faster than inserting directly. Use gsSparseMatrix().setFrom(gsSparseEntries) to pass the triplets to the matrix.

Template Parameters
Tcoefficient type

Inherits vector< gsEigen::Triplet< T, index_t > >.