00001 // This file is part of the imaging2 class library. 00002 // 00003 // University of Innsbruck, Infmath Imaging, 2009. 00004 // http://infmath.uibk.ac.at 00005 // 00006 // All rights reserved. 00007 00008 00009 #ifndef SOLVER_SOLVERINTERFACE_H 00010 #define SOLVER_SOLVERINTERFACE_H 00011 00012 #include <core/imaging2.hpp> 00013 00014 namespace imaging 00015 { 00019 class SolverInterface 00020 { 00021 00022 public: 00023 virtual ~SolverInterface() {} 00024 00026 virtual void solve(const ublas::compressed_matrix<float_t> & eqs, const ublas::vector<float_t> & rhs, ublas::vector<float_t> & result) const = 0; 00027 }; 00028 00029 } 00030 00031 #endif