version 0.4.1
Ikarus::Concepts::LinearSolverCheck Concept Reference

Concept to check if a linear solver implements all the needed functions for given vector and matrix types. More...

#include <ikarus/utils/concepts.hh>

Concept definition

template<typename LS, typename M, typename V>
concept Ikarus::Concepts::LinearSolverCheck = requires(LS& linearSolver, M& A, V& vec) {
linearSolver.analyzePattern(A);
linearSolver.factorize(A);
linearSolver.solve(vec, vec);
}
Concept to check if a linear solver implements all the needed functions for given vector and matrix t...
Definition: concepts.hh:210

Detailed Description

Template Parameters
LSThe linear solver type.
MThe matrix type.
VThe vector type.