2 #ifndef vnl_sparse_matrix_linear_system_h_ 3 #define vnl_sparse_matrix_linear_system_h_ 22 #include "vnl/vnl_export.h" 63 #endif // vnl_sparse_matrix_linear_system_h_ virtual void multiply(vnl_vector< double > const &x, vnl_vector< double > &y) const =0
Compute A*x, putting result in y.
virtual void get_rhs(vnl_vector< double > &b) const =0
void get_rhs(vnl_vector< double > &b) const override
Implementations of the vnl_linear_system virtuals.
Abstraction for a linear system of equations.
virtual void apply_preconditioner(vnl_vector< double > const &x, vnl_vector< double > &px) const
virtual void transpose_multiply(vnl_vector< double > const &y, vnl_vector< double > &x) const =0
Compute A_transpose * y, putting result in x.
Mathematical vector class, templated by type of element.
vnl_sparse_matrix -> vnl_linear_system adaptor.
Abstraction for a linear system of equations.
void transpose_multiply(vnl_vector< double > const &b, vnl_vector< double > &x) const override
Implementations of the vnl_linear_system virtuals.
void multiply(vnl_vector< double > const &x, vnl_vector< double > &b) const override
Implementations of the vnl_linear_system virtuals.