#include <vnl_linear_system.h>
Inheritance diagram for vnl_linear_system:
Public Methods | |
vnl_linear_system (int number_of_unknowns, int number_of_residuals) | |
virtual | ~vnl_linear_system () |
virtual void | multiply (vnl_vector< double > const &x, vnl_vector< double > &y) const=0 |
virtual void | transpose_multiply (vnl_vector< double > const &y, vnl_vector< double > &x) const=0 |
virtual void | get_rhs (vnl_vector< double > &b) const=0 |
virtual void | apply_preconditioner (vnl_vector< double > const &x, vnl_vector< double > &px) const |
int | get_number_of_unknowns () const |
int | get_number_of_residuals () const |
double | get_rms_error (vnl_vector< double > const &x) const |
double | get_relative_residual (vnl_vector< double > const &x) const |
Protected Attributes | |
int | p_ |
int | n_ |
Definition at line 26 of file vnl_linear_system.h.
|
Definition at line 29 of file vnl_linear_system.h. References p_. |
|
|
|
Reimplemented in vnl_sparse_matrix_linear_system< T >. |
|
Return the number of residuals. Definition at line 58 of file vnl_linear_system.h. |
|
Return the number of unknowns. Definition at line 54 of file vnl_linear_system.h. |
|
Compute relative residual (|Ax - b| / |b| )for parameter vector x. |
|
Implemented in vnl_sparse_matrix_linear_system< T >. |
|
Compute rms error for parameter vector x. |
|
Compute A*x, putting result in y. Implemented in vnl_sparse_matrix_linear_system< T >. |
|
Compute A_transpose * y, putting result in x. Implemented in vnl_sparse_matrix_linear_system< T >. |
|
Definition at line 70 of file vnl_linear_system.h. Referenced by get_number_of_residuals(). |
|
Definition at line 69 of file vnl_linear_system.h. Referenced by get_number_of_residuals(), and vnl_linear_system(). |