aimstil
5.0.5
|
Try a fix step, but if it doesn't minimize the criteria, use only a fraction of the step and start all over again. 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 |
Public Member Functions | |
SmartFixedStep (TFunctor functor, input_prec stepsize, input_prec coeff=input_prec(0.5)) | |
output_prec | operator() (input_type &p, const input_type &dir) |
Try a fix step, but if it doesn't minimize the criteria, use only a fraction of the step and start all over again.
Definition at line 310 of file minTools.h.
typedef value_type_of<input_type>::type til::SmartFixedStep< TFunctor >::input_prec |
Definition at line 315 of file minTools.h.
typedef TFunctor::argument_type til::SmartFixedStep< TFunctor >::input_type |
Definition at line 314 of file minTools.h.
typedef TFunctor::result_type til::SmartFixedStep< TFunctor >::output_prec |
Definition at line 316 of file minTools.h.
|
inline |
Definition at line 320 of file minTools.h.
|
inline |
Definition at line 328 of file minTools.h.
References til::expr::_1, til::expr::_2, til::expr::_3, til::detail::loop_xx(), til::detail::loop_xxx(), and til::resize().