|
librsb
1.3.0.0
|
C++ example based on <rsb.hpp> illustrating use of RsbMatrix.file_save(), and std::span-based versions of RsbMatrix.tune_spmm(), RsbMatrix.spmv(). More...
Functions | |
| int | main () |
C++ example based on <rsb.hpp> illustrating use of RsbMatrix.file_save(), and std::span-based versions of RsbMatrix.tune_spmm(), RsbMatrix.spmv().
Using a librsb program via RsbLib does not differ conceptually much librsb.
Errors caught by librsb shall not go unnoticed and trigger an exception instead.
Memory management of matrices and the library state itself follow the usual C++ RAII rules: the mtx object is freed first via RsbMatrix's destructor; then librsb is finalized via RsbLib()'s destructor .
| int main | ( | void | ) |
1.8.13