autogenu-jupyter
An automatic code generator and the continuation/GMRES (C/GMRES) based numerical solvers for nonlinear MPC
Loading...
Searching...
No Matches
cgmres::detail::MatrixFreeGMRES< LinearProblem, _kmax > Class Template Reference

#include <matrixfree_gmres.hpp>

Public Member Functions

 MatrixFreeGMRES ()
 
 ~MatrixFreeGMRES ()=default
 
template<typename... LinearProblemArgs>
int solve (LinearProblem &linear_problem, LinearProblemArgs... linear_problem_args, Vector< dim > &linear_problem_solution)
 

Static Public Attributes

static constexpr int dim = LinearProblem::dim
 
static constexpr int kmax = std::min(dim, _kmax)
 

Constructor & Destructor Documentation

◆ MatrixFreeGMRES()

template<typename LinearProblem , int _kmax>
cgmres::detail::MatrixFreeGMRES< LinearProblem, _kmax >::MatrixFreeGMRES ( )
inline

◆ ~MatrixFreeGMRES()

template<typename LinearProblem , int _kmax>
cgmres::detail::MatrixFreeGMRES< LinearProblem, _kmax >::~MatrixFreeGMRES ( )
default

Member Function Documentation

◆ solve()

template<typename LinearProblem , int _kmax>
template<typename... LinearProblemArgs>
int cgmres::detail::MatrixFreeGMRES< LinearProblem, _kmax >::solve ( LinearProblem &  linear_problem,
LinearProblemArgs...  linear_problem_args,
Vector< dim > &  linear_problem_solution 
)
inline

Member Data Documentation

◆ dim

template<typename LinearProblem , int _kmax>
constexpr int cgmres::detail::MatrixFreeGMRES< LinearProblem, _kmax >::dim = LinearProblem::dim
staticconstexpr

◆ kmax

template<typename LinearProblem , int _kmax>
constexpr int cgmres::detail::MatrixFreeGMRES< LinearProblem, _kmax >::kmax = std::min(dim, _kmax)
staticconstexpr

The documentation for this class was generated from the following file: