|
spla
|
CPU list-of-list matrix format for fast incremental build. More...
#include <cpu_formats.hpp>


Public Types | |
| using | Entry = std::pair<uint, T> |
| using | Row = std::vector<Entry> |
| using | Reduce = std::function<T(T accum, T added)> |
Public Member Functions | |
| ~CpuLil () override=default | |
Public Member Functions inherited from spla::TDecoration< T > | |
| ~TDecoration () override=default | |
| virtual uint | get_n_values () const |
Public Member Functions inherited from spla::RefCnt | |
| virtual | ~RefCnt () |
| bool | is_unique () const |
| std::int32_t | get_refs () const |
| std::int32_t | add_ref () const |
| std::int32_t | rel_ref () const |
Public Attributes | |
| std::vector< Row > | Ar {} |
| Reduce | reduce = [](T, T a) { return a; } |
Public Attributes inherited from spla::TDecoration< T > | |
| uint | values = 0 |
Static Public Attributes | |
| static constexpr FormatMatrix | FORMAT = FormatMatrix::CpuLil |
CPU list-of-list matrix format for fast incremental build.
| T | Type of elements |
| using spla::CpuLil< T >::Entry = std::pair<uint, T> |
| using spla::CpuLil< T >::Reduce = std::function<T(T accum, T added)> |
| using spla::CpuLil< T >::Row = std::vector<Entry> |
|
overridedefault |
| std::vector<Row> spla::CpuLil< T >::Ar {} |
|
staticconstexpr |
| Reduce spla::CpuLil< T >::reduce = [](T, T a) { return a; } |