|
Unfit
3.1.1
Data fitting and optimization software
|
#include <NelderMeadTestFunctions.hpp>
Public Member Functions | |
| std::vector< double > | operator() (const std::vector< double > &x) |
Public Member Functions inherited from Unfit::GenericCostFunction | |
| virtual | ~GenericCostFunction () |
This function gives an infinite cost for all values of x.
|
inlinevirtual |
We overload the operator as is required in GenericCostFunction to calculate the cost of the AlwaysInfinite function as defined above.
Behaviour: cost = y = 1000*double_max
Intended use : AlwaysInfinite Func; cost = Func(const std::vector<double> x);
Parameters:
| x | (input) vector containing values of the variable |
Implements Unfit::GenericCostFunction.
1.8.13