ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::AssemblyWorkspace< I, V > Struct Template Reference

the scratch of compressTriplets(), which keeps its memory from one call to the next More...

#include <ADS/numeric/SparseAssembly.h>

Public types

template<class U>
using Vector = std::vector< U , detail::DefaultInitAllocator< U > >

Public attributes

Vector< I > cursor
 the cursor of each major index
Vector< I > mark
 the last place of each minor one
std::vector< std::pair< I, V > > pairs
 a long one, to sort

Detailed description

template<class I, class V>
struct ADS::AssemblyWorkspace< I, V >

the scratch of compressTriplets(), which keeps its memory from one call to the next

Member typedef documentation

◆ Vector

template<class I, class V>
template<class U>
using ADS::AssemblyWorkspace< I, V >::Vector = std::vector< U , detail::DefaultInitAllocator< U > >

Member data documentation

◆ cursor

template<class I, class V>
Vector< I > ADS::AssemblyWorkspace< I, V >::cursor

the cursor of each major index

◆ mark

template<class I, class V>
Vector< I > ADS::AssemblyWorkspace< I, V >::mark

the last place of each minor one

◆ pairs

template<class I, class V>
std::vector< std::pair< I , V > > ADS::AssemblyWorkspace< I, V >::pairs

a long one, to sort


The documentation for this struct was generated from the following file: