imaging::SolverInterface Class Reference
[Linear Solver Module]

Abstract class interface for solver for sparse systems of linear equations. More...

#include <SolverInterface.hpp>

Inheritance diagram for imaging::SolverInterface:

imaging::BiCgStabSolver imaging::CgSolver imaging::LuSolver

List of all members.

Public Member Functions

virtual void solve (const ublas::compressed_matrix< float_t > &eqs, const ublas::vector< float_t > &rhs, ublas::vector< float_t > &result) const =0


Detailed Description

Abstract class interface for solver for sparse systems of linear equations.

Member Function Documentation

virtual void imaging::SolverInterface::solve ( const ublas::compressed_matrix< float_t > &  eqs,
const ublas::vector< float_t > &  rhs,
ublas::vector< float_t > &  result 
) const [pure virtual]

Solves the system of equations defined by the matrix eqs and the vector rhs and writes the solution to result. The vector result is automatically resized to dimension of the system. If the sizes of the input data are such that the system cannot be solved an Exception is thrown.

Implemented in imaging::BiCgStabSolver, imaging::CgSolver, and imaging::LuSolver.


The documentation for this class was generated from the following file:

Generated on Tue Feb 10 10:01:31 2009 for imaging2 by  doxygen 1.5.5