35 A_.pre_mult(b_float,x_float);
56 A_.mult(x_float,b_float);
66 if (jacobi_precond_.size() == 0) {
70 for (
unsigned int i=0; i < tmp.
size(); ++i)
vnl_sparse_matrix -> vnl_linear_system adaptor
void get_rhs(vnl_vector< double > &b) const override
Implementations of the vnl_linear_system virtuals.
VNL_EXPORT void vnl_copy(S const *const src, T *const dst, const unsigned n)
Easy conversion between vectors and matrices templated over different types.
void apply_preconditioner(vnl_vector< double > const &x, vnl_vector< double > &px) const override
Implementations of the vnl_linear_system virtuals.
size_t size() const
Return the length, number of elements, dimension of this vector.
Easy conversion between vectors and matrices templated over different types.
T dot_product(const vnl_vector_fixed< T, n > &a, const vnl_vector_fixed< T, n > &b)
vnl_sparse_matrix -> vnl_linear_system adaptor.
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.