G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
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 > >.