29 lines
1.0 KiB
Groff
29 lines
1.0 KiB
Groff
|
|
.TH "serif::solver::detail::NewtonStrategyFor" 3 "Version v0.0.1a" "SERiF" \" -*- nroff -*-
|
||
|
|
.ad l
|
||
|
|
.nh
|
||
|
|
.SH NAME
|
||
|
|
serif::solver::detail::NewtonStrategyFor \- A custom method must supply the exact correction contract; malformed overrides never select a fallback\&.
|
||
|
|
|
||
|
|
.SH SYNOPSIS
|
||
|
|
.br
|
||
|
|
.PP
|
||
|
|
.PP
|
||
|
|
\fR#include <newton\&.hpp>\fP
|
||
|
|
.SH "Concept definition"
|
||
|
|
.PP
|
||
|
|
|
||
|
|
.nf
|
||
|
|
template<typename Problem, typename State, typename Options>
|
||
|
|
concept serif::solver::detail::NewtonStrategyFor = requires(Problem& problem, const State& state, Options& options,
|
||
|
|
const typename decltype(problem\&.prepare(state))::value_type& prepared, typename Problem::Vector& vector) {
|
||
|
|
{ options\&.strategies\&.solve(problem, state, prepared, vector, vector, options) } \-> std::same_as<linear::Report>;
|
||
|
|
}
|
||
|
|
.PP
|
||
|
|
.fi
|
||
|
|
.SH "Detailed Description"
|
||
|
|
.PP
|
||
|
|
A custom method must supply the exact correction contract; malformed overrides never select a fallback\&.
|
||
|
|
.SH "Author"
|
||
|
|
.PP
|
||
|
|
Generated automatically by Doxygen for SERiF from the source code\&.
|