1 #ifndef extremefinder_h 2 #define extremefinder_h 32 bool max,
int itermax,
float tol,
63 float extremePos()
const;
65 float extremeVal()
const;
106 bool max,
int itermax,
float tol,
137 float extremePos()
const;
139 float extremeVal()
const;
183 bool max,
int itermax );
191 template<
class IDXABL>
194 for (
int idx=0; idx<n_; idx++ )
213 template<
class IDXABL>
216 for (
int idx=0; idx<n_; idx++ )
223 float linExtreme(
float*);
#define mExpClass(module)
Definition: commondefs.h:160
Interval< float > * limits_
Definition: extremefinder.h:155
int iter_
Definition: extremefinder.h:89
float b_
Definition: extremefinder.h:84
const float * extremePos() const
Definition: extremefinder.h:210
const bool max_
Definition: extremefinder.h:234
const bool max_
Definition: extremefinder.h:92
const FloatMathFunction & func_
Definition: extremefinder.h:91
float fx_
Definition: extremefinder.h:86
Mathematical function.
Definition: mathfunc.h:61
float stopfuncval
Definition: extremefinder.h:163
float x_
Definition: extremefinder.h:85
Finds the nearest local extreme position in ND's. Implementation of Powell's Quadratically Convergent...
Definition: extremefinder.h:177
int n_
Definition: extremefinder.h:228
Interval< float > * limits_
Definition: extremefinder.h:88
bool isok
Definition: extremefinder.h:166
float centerfuncval
Definition: extremefinder.h:164
The generalization of something (e.g. a computation) where the steps must be done in sequence...
Definition: task.h:124
const bool max
Definition: extremefinder.h:158
Interval< float > current
Definition: extremefinder.h:161
const FloatMathFunctionND & func_
Definition: extremefinder.h:236
const FloatMathFunction & func
Definition: extremefinder.h:167
Bisection Extreme Finder.
Definition: extremefinder.h:101
float ftol_
Definition: extremefinder.h:227
float cx_
Definition: extremefinder.h:82
int iter_
Definition: extremefinder.h:229
float * p_
Definition: extremefinder.h:225
float * pt_
Definition: extremefinder.h:232
const float tol_
Definition: extremefinder.h:90
const int itermax_
Definition: extremefinder.h:235
float fret_
Definition: extremefinder.h:230
const int itermax_
Definition: extremefinder.h:93
float e_
Definition: extremefinder.h:83
void setStartPos(const IDXABL &sp)
Definition: extremefinder.h:192
Finds extreme values in FloatMathFunctions.
Definition: extremefinder.h:28
float startfuncval
Definition: extremefinder.h:162
void extremePos(IDXABL &sp) const
Sets the sp variable to the extreme position.
Definition: extremefinder.h:214
float extremeVal() const
Definition: extremefinder.h:208
int iter
Definition: extremefinder.h:156
const float tol
Definition: extremefinder.h:157
const int itermax
Definition: extremefinder.h:159
ObjectSet< float > xi_
Definition: extremefinder.h:226