|
RsbLib
|
Classes RsbLib and RsbMatrix provide native C++ access to librsb.
More...
#include <iostream>#include <rsb.h>#include <cstdlib>#include <vector>#include <tuple>#include <limits>#include <exception>#include <memory>

Go to the source code of this file.
Classes | |
| class | RsbLib |
Class initializing/finalizing librsb state. More... | |
| class | RsbMatrix< NT > |
Represent a sparse matrix in RSB format by means of librsb. More... | |
Macros | |
| #define | RSBP_DEPRECATED |
| Internal attribute specifier for deprecated member functions. | |
| #define | RSBP_NODISCARD |
| Internal attribute. | |
| #define | RSBP_WANT_REV 0 |
| If this is defined to 1 before including <rsb.hpp>, rsb_err_t is the default return type. Otherwise the default is void. | |
| #define | RSBP_RVT template <typename Err_t=void> |
| No return type. | |
| #define | RSBP_MSLVRV 10201 |
| Minimal supported librsb version (value of RSB_LIBRSB_VER, defined via rsb.h) | |
Classes RsbLib and RsbMatrix provide native C++ access to librsb.
Most of the librsb functionality is available via C++ classes RsbLib and RsbMatrix.
These classes are defined in header file <rsb.hpp>, which wraps functionality of librsb's C interface <rsb.h>.
The RsbMatrix class can manipulate sparse matrices of several numerical types (same ones as librsb: matrix_supported_numerical_types_section).
Before using RsbMatrix, the library must be initialized by having a RsbLib object.
To avoid problems when including this header, don't define preprocessor macros prefixed with RSB_ or RSBP_.
For a quick start, check out examples/example.cpp or other examples in its directory.
1.8.13