Concept to check if a type implements all the needed functions to be an adaptive step sizing method.
More...
#include <ikarus/utils/concepts.hh>
template<typename ASS, typename NLSI, typename SA, typename DifferentiableFunction>
requires(ASS adaptiveStepSizing, NLSI info, SA args, DifferentiableFunction nop) {
{ adaptiveStepSizing(info, args, nop) } -> std::same_as<void>;
{ adaptiveStepSizing.targetIterations() } -> std::same_as<int>;
{ adaptiveStepSizing.setTargetIterations(std::declval<int>()) } -> std::same_as<void>;
}
Concept to check if a type implements all the needed functions to be an adaptive step sizing method.
Definition: utils/concepts.hh:207
- Template Parameters
-
ASS | The adaptive step sizing type. |
NLSI | The non-linear solver information type. |
SA | The subsidiary arguments type. |