librsb
1.3
|
Classes RsbLib
and RsbMatrix
provide native C++ access to librsb
.
More...
Data Structures | |
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. More... | |
#define | RSBP_NODISCARD |
Internal attribute. More... | |
#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. More... | |
#define | RSBP_RVT template <typename Err_t=void> |
No return type. More... | |
#define | RSBP_MSLVRV 10201 |
Minimal supported librsb version (value of RSB_LIBRSB_VER, defined via rsb.h) More... | |
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.
#define RSBP_DEPRECATED |
Internal attribute specifier for deprecated member functions.
#define RSBP_MSLVRV 10201 |
Minimal supported librsb version (value of RSB_LIBRSB_VER, defined via rsb.h)
#define RSBP_NODISCARD |
Internal attribute.
#define RSBP_RVT template <typename Err_t=void> |
No return type.