yat
0.20.3pre
|
#include <yat/utility/FalsePosition.h>
Public Member Functions | |
FalsePosition (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 lower, double upper, Stopper &&stopper) |
template<class FUNC > | |
double | operator() (FUNC &func, double lower, double upper, Stopper &&stopper, unsigned int max_epochs) |
Wrapper around gsl_root_fsolver_falsepos
|
inherited |
|
inherited |
Find a value x within range [lower
, upper
] such that func(x) = 0. Function keeps iterating until stopper
returns true
.
|
inherited |
Same as operator()(4) but do maximum max_epochs
iterations.