yat
0.20.3pre
|
#include <yat/utility/Steffenson.h>
Public Member Functions | |
Steffenson (void) | |
Constructor. | |
unsigned int | epochs (void) const |
Number of epochs (iterations) used in last minimisation. | |
const char * | name (void) const |
template<class FUNC > | |
double | operator() (FUNC &func, double guess, Stopper &&stopper) |
template<class FUNC > | |
double | operator() (FUNC &func, double guess, Stopper &&stopper, unsigned int max_epochs) |
Wrapper around gsl_root_fdfsolver_steffenson
|
inherited |
|
inherited |
Starting at guess
, find a value x such that func(x) = 0. Function keeps iterating until stopper
returns true
.
Requirement on FUNC:
|
inherited |
Same as operator()(4) but do maximum max_epochs
iterations.