|
aimstil
5.0.5
|
A class to minimize a functional within a bracketing triplet. More...
#include <cathier/minTools.h>
Public Types | |
| typedef TFunctor::argument_type | input_type |
| typedef value_type_of< input_type >::type | input_prec |
| typedef TFunctor::result_type | output_prec |
| typedef combine< input_prec, output_prec >::type | max_prec |
Public Member Functions | |
| Brent () | |
| Brent (TFunctor functor) | |
| void | init () |
| Somewhat meaningful default values. More... | |
| void | setMaxIterations (int itmax) |
| max_prec | tol () const |
| void | setTol (input_prec tol) |
| input_prec | xmin () const |
| output_prec | fmin () const |
| bool & | verbose () |
| void | operator() (input_prec a, input_prec m, input_prec b, input_type point, input_type dir) |
| Minimize functor starting from p and in the direction dir [a,m,b] is a bracketing triplet of the minimum. More... | |
A class to minimize a functional within a bracketing triplet.
Definition at line 85 of file minTools.h.
| typedef value_type_of<input_type>::type til::Brent< TFunctor >::input_prec |
Definition at line 90 of file minTools.h.
| typedef TFunctor::argument_type til::Brent< TFunctor >::input_type |
Definition at line 89 of file minTools.h.
| typedef combine<input_prec, output_prec>::type til::Brent< TFunctor >::max_prec |
Definition at line 92 of file minTools.h.
| typedef TFunctor::result_type til::Brent< TFunctor >::output_prec |
Definition at line 91 of file minTools.h.
| til::Brent< TFunctor >::Brent | ( | ) |
| til::Brent< TFunctor >::Brent | ( | TFunctor | functor | ) |
|
inline |
Definition at line 120 of file minTools.h.
|
inline |
Somewhat meaningful default values.
Definition at line 102 of file minTools.h.
References til::sqrt().
| void til::Brent< TFunctor >::operator() | ( | input_prec | a, |
| input_prec | m, | ||
| input_prec | b, | ||
| input_type | point, | ||
| input_type | dir | ||
| ) |
Minimize functor starting from p and in the direction dir [a,m,b] is a bracketing triplet of the minimum.
|
inline |
Definition at line 112 of file minTools.h.
|
inline |
Definition at line 115 of file minTools.h.
|
inline |
Definition at line 114 of file minTools.h.
|
inline |
Definition at line 122 of file minTools.h.
References til::Mnbrak< TFunctor >::operator()().
|
inline |
Definition at line 118 of file minTools.h.