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
22#include "linearAlgebraLib/src/linearAlgebraSolverBase.hpp"
23#include "linearAlgebraLib/src/sparseMatrixCSR.hpp"
24#include "linearAlgebraLib/src/vector.hpp"
28namespace linearAlgebraLib {
55 virtual Vector solve(
unsigned maxIterations,
double convergenceThreshold)
final override;
Implements the Conjugate Gradient method for solving linear systems.
Definition conjugateGradient.hpp:40
A class defining an interface for linear algebra solvers to implement.
Definition linearAlgebraSolverBase.hpp:39
A vector class with overloaded operators to facilitate arithmetic vector operations.
Definition vector.hpp:41