numerics
0.1.0
Loading...
Searching...
No Matches
linear_solver.hpp
Go to the documentation of this file.
1
/// @file linalg/solvers/linear_solver.hpp
2
/// @brief Universal linear solver callable type.
3
#pragma once
4
5
#include "
core/vector.hpp
"
6
#include "
linalg/solvers/solver_result.hpp
"
7
#include <functional>
8
9
namespace
num
{
10
11
/// @brief Callable that solves \f$Ax=\mathrm{rhs}\f$.
12
using
LinearSolver
= std::function<
SolverResult
(
const
Vector
& rhs,
Vector
& x)>;
13
14
}
// namespace num
num::BasicVector< real >
num
Definition
quadrature.hpp:8
num::LinearSolver
std::function< SolverResult(const Vector &rhs, Vector &x)> LinearSolver
Callable that solves .
Definition
linear_solver.hpp:12
solver_result.hpp
Common result type shared by all iterative solvers.
num::SolverResult
Definition
solver_result.hpp:8
vector.hpp
Dense vector storage and operations.
include
linalg
solvers
linear_solver.hpp
Generated by
1.9.8