|
numerics 0.1.0
|
Adapt a SparseMatrix to the operator protocol. More...
#include <sparse.hpp>
Public Member Functions | |
| SparseOp (const SparseMatrix &A) | |
| void | apply (const Vector &x, Vector &y) const |
| idx | rows () const noexcept |
| idx | cols () const noexcept |
Adapt a SparseMatrix to the operator protocol.
Definition at line 11 of file sparse.hpp.
|
inlineexplicit |
Definition at line 12 of file sparse.hpp.
Definition at line 18 of file operator.cpp.
References num::SparseMatrix::n_cols(), num::SparseMatrix::n_rows(), num::BasicVector< T >::size(), and num::sparse_matvec().
|
inlinenoexcept |
Definition at line 17 of file sparse.hpp.
References num::SparseMatrix::n_cols().
|
inlinenoexcept |
Definition at line 16 of file sparse.hpp.
References num::SparseMatrix::n_rows().