4#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
5 #if defined(COMPILEDLL)
6 #define LINEARALGEBRALIB_EXPORT __declspec(dllexport)
7 #elif defined(COMPILELIB)
8 #define LINEARALGEBRALIB_EXPORT
10 #define LINEARALGEBRALIB_EXPORT __declspec(dllimport)
13 #define LINEARALGEBRALIB_EXPORT
21#include "linearAlgebraLib/src/sparseMatrixCSR.hpp"
22#include "linearAlgebraLib/src/vector.hpp"
26namespace linearAlgebraLib {
56 void setRightHandSide(
const Vector &rhs);
57 virtual Vector solve(
unsigned maxIterations,
double convergenceThreshold) = 0;
A class defining an interface for linear algebra solvers to implement.
Definition linearAlgebraSolverBase.hpp:39
A matrix class with overloaded operators to facilitate arithmetic matrix operations.
Definition sparseMatrixCSR.hpp:43
A vector class with overloaded operators to facilitate arithmetic vector operations.
Definition vector.hpp:41