spla
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
spla::CpuCsr< T > Class Template Reference

CPU compressed sparse row matrix format. More...

#include <cpu_formats.hpp>

Inheritance diagram for spla::CpuCsr< T >:
Inheritance graph
[legend]
Collaboration diagram for spla::CpuCsr< T >:
Collaboration graph
[legend]

Public Member Functions

 ~CpuCsr () 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< uintAp
 
std::vector< uintAj
 
std::vector< T > Ax
 
- Public Attributes inherited from spla::TDecoration< T >
uint values = 0
 

Static Public Attributes

static constexpr FormatMatrix FORMAT = FormatMatrix::CpuCsr
 

Detailed Description

template<typename T>
class spla::CpuCsr< T >

CPU compressed sparse row matrix format.

Template Parameters
TType of elements

Constructor & Destructor Documentation

◆ ~CpuCsr()

template<typename T >
spla::CpuCsr< T >::~CpuCsr ( )
overridedefault

Member Data Documentation

◆ Aj

template<typename T >
std::vector<uint> spla::CpuCsr< T >::Aj

◆ Ap

template<typename T >
std::vector<uint> spla::CpuCsr< T >::Ap

◆ Ax

template<typename T >
std::vector<T> spla::CpuCsr< T >::Ax

◆ FORMAT

template<typename T >
constexpr FormatMatrix spla::CpuCsr< T >::FORMAT = FormatMatrix::CpuCsr
staticconstexpr

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