vnl_sparse_matrix -> vnl_linear_system adaptor. More...
#include <vnl_sparse_matrix_linear_system.h>

Public Member Functions | |
| vnl_sparse_matrix_linear_system (vnl_sparse_matrix< T > const &A, vnl_vector< T > const &b) | |
| :Constructor from vnl_sparse_matrix<double> for system Ax = b. More... | |
| void | multiply (vnl_vector< double > const &x, vnl_vector< double > &b) const override |
| Implementations of the vnl_linear_system virtuals. More... | |
| void | transpose_multiply (vnl_vector< double > const &b, vnl_vector< double > &x) const override |
| Implementations of the vnl_linear_system virtuals. More... | |
| void | get_rhs (vnl_vector< double > &b) const override |
| Implementations of the vnl_linear_system virtuals. More... | |
| void | apply_preconditioner (vnl_vector< double > const &x, vnl_vector< double > &px) const override |
| Implementations of the vnl_linear_system virtuals. More... | |
| template<> | |
| void | get_rhs (vnl_vector< double > &b) const |
| template<> | |
| void | transpose_multiply (vnl_vector< double > const &b, vnl_vector< double > &x) const |
| Compute A_transpose * y, putting result in x. More... | |
| template<> | |
| void | get_rhs (vnl_vector< double > &b) const |
| template<> | |
| void | transpose_multiply (vnl_vector< double > const &b, vnl_vector< double > &x) const |
| Compute A_transpose * y, putting result in x. More... | |
| template<> | |
| void | multiply (vnl_vector< double > const &x, vnl_vector< double > &b) const |
| Compute A*x, putting result in y. More... | |
| template<> | |
| void | multiply (vnl_vector< double > const &x, vnl_vector< double > &b) const |
| Compute A*x, putting result in y. More... | |
| template<> | |
| VNL_EXPORT void | get_rhs (vnl_vector< double > &b) const |
| template<> | |
| VNL_EXPORT void | transpose_multiply (vnl_vector< double > const &b, vnl_vector< double > &x) const |
| Compute A_transpose * y, putting result in x. More... | |
| template<> | |
| VNL_EXPORT void | get_rhs (vnl_vector< double > &b) const |
| template<> | |
| VNL_EXPORT void | transpose_multiply (vnl_vector< double > const &b, vnl_vector< double > &x) const |
| Compute A_transpose * y, putting result in x. More... | |
| template<> | |
| VNL_EXPORT void | multiply (vnl_vector< double > const &x, vnl_vector< double > &b) const |
| Compute A*x, putting result in y. More... | |
| template<> | |
| VNL_EXPORT void | multiply (vnl_vector< double > const &x, vnl_vector< double > &b) const |
| Compute A*x, putting result in y. More... | |
| unsigned int | get_number_of_unknowns () const |
| Return the number of unknowns. More... | |
| unsigned int | get_number_of_residuals () const |
| Return the number of residuals. More... | |
| double | get_rms_error (vnl_vector< double > const &x) const |
| Compute rms error for parameter vector x. More... | |
| double | get_relative_residual (vnl_vector< double > const &x) const |
| Compute relative residual (|Ax - b| / |b| )for parameter vector x. More... | |
Protected Attributes | |
| vnl_sparse_matrix< T > const & | A_ |
| vnl_vector< T > const & | b_ |
| vnl_vector< double > | jacobi_precond_ |
| unsigned int | p_ |
| unsigned int | n_ |
vnl_sparse_matrix -> vnl_linear_system adaptor.
An adaptor that converts a vnl_sparse_matrix<T> to a vnl_linear_system
Definition at line 26 of file vnl_sparse_matrix_linear_system.h.
|
inline |
:Constructor from vnl_sparse_matrix<double> for system Ax = b.
Keeps a reference to the original sparse matrix A and vector b so DO NOT DELETE THEM!!
Definition at line 31 of file vnl_sparse_matrix_linear_system.h.
|
overridevirtual |
Implementations of the vnl_linear_system virtuals.
Reimplemented from vnl_linear_system.
Definition at line 62 of file vnl_sparse_matrix_linear_system.cxx.
|
inlineinherited |
Return the number of residuals.
Definition at line 56 of file vnl_linear_system.h.
|
inlineinherited |
Return the number of unknowns.
Definition at line 53 of file vnl_linear_system.h.
|
inherited |
Compute relative residual (|Ax - b| / |b| )for parameter vector x.
Definition at line 32 of file vnl_linear_system.cxx.
|
virtual |
Implements vnl_linear_system.
Definition at line 8 of file vnl_sparse_matrix_linear_system.cxx.
|
virtual |
Implements vnl_linear_system.
Definition at line 20 of file vnl_sparse_matrix_linear_system.cxx.
|
overridevirtual |
Implementations of the vnl_linear_system virtuals.
Implements vnl_linear_system.
|
virtual |
Implements vnl_linear_system.
|
virtual |
Implements vnl_linear_system.
|
inherited |
Compute rms error for parameter vector x.
Definition at line 19 of file vnl_linear_system.cxx.
|
overridevirtual |
Implementations of the vnl_linear_system virtuals.
Implements vnl_linear_system.
|
virtual |
Compute A*x, putting result in y.
Implements vnl_linear_system.
Definition at line 40 of file vnl_sparse_matrix_linear_system.cxx.
|
virtual |
Compute A*x, putting result in y.
Implements vnl_linear_system.
Definition at line 47 of file vnl_sparse_matrix_linear_system.cxx.
|
virtual |
Compute A*x, putting result in y.
Implements vnl_linear_system.
|
virtual |
Compute A*x, putting result in y.
Implements vnl_linear_system.
|
virtual |
Compute A_transpose * y, putting result in x.
Implements vnl_linear_system.
Definition at line 14 of file vnl_sparse_matrix_linear_system.cxx.
|
virtual |
Compute A_transpose * y, putting result in x.
Implements vnl_linear_system.
Definition at line 26 of file vnl_sparse_matrix_linear_system.cxx.
|
overridevirtual |
Implementations of the vnl_linear_system virtuals.
Implements vnl_linear_system.
|
virtual |
Compute A_transpose * y, putting result in x.
Implements vnl_linear_system.
|
virtual |
Compute A_transpose * y, putting result in x.
Implements vnl_linear_system.
|
protected |
Definition at line 44 of file vnl_sparse_matrix_linear_system.h.
|
protected |
Definition at line 45 of file vnl_sparse_matrix_linear_system.h.
|
protected |
Definition at line 46 of file vnl_sparse_matrix_linear_system.h.
|
protectedinherited |
Definition at line 66 of file vnl_linear_system.h.
|
protectedinherited |
Definition at line 65 of file vnl_linear_system.h.
1.8.15