examples Directory Reference

## Files

| assemble.cpp
| C++ example based on <rsb.hpp> assembling RsbMatrix by pieces.
| autotune.cpp
| C++ example based on <rsb.hpp> for performance-benchmarking a matrix from file using RsbMatrix.tune_spmm(), for various right-hand side counts.
| bench.cpp
| C++ example based on <rsb.hpp> for performance-benchmarking a matrix from file using RsbMatrix.spmm(), for various right-hand side counts.
| build.cpp
| C++ example based on <rsb.hpp> using timings for common matrix operations on RsbMatrix: RsbMatrix.get_coo(), rsb_coo_sort(), rsb_time().
| example.cpp
| C++ example based on <rsb.hpp> using RsbMatrix.spmm().
| misc.cpp
| C++ example based on <rsb.hpp> showing various RsbMatrix operations.
| mtx2bin.cpp
| C++ example based on <rsb.hpp> converting a Matrix Market file into a custom format using RsbMatrix.get_coo().
| render.cpp
| C++ example based on <rsb.hpp> of invoking the autotuner on an RsbMatrix matrix with RsbMatrix.tune_spmm() and rendering it with RsbMatrix.rndr().
| span.cpp
| C++ example based on <rsb.hpp> illustrating use of RsbMatrix.file_save(), and std::span-based versions of RsbMatrix.tune_spmm(), RsbMatrix.spmv().
| twonnz.cpp
| C++ example based on <rsb.hpp> measuring RsbMatrix.spmm() performance of a matrix with only two elements; this is is effectively measuring performance of result vector scaling.