|
Unfit
3.1.1
Data fitting and optimization software
|
Equation4 is defined as 4x^4. More...
#include <LevenbergMarquardtTestFunctions.hpp>
Public Member Functions | |
| std::vector< double > | operator() (const std::vector< double > &variable) |
Public Member Functions inherited from Unfit::GenericCostFunction | |
| virtual | ~GenericCostFunction () |
Equation4 is defined as 4x^4.
Number of dimensions = 1 The global minimum is: 0 at (0)T Initial guess: (1)
|
inlinevirtual |
We overload the operator as is required in GenericCostFunction to calculate the cost of the function.
Behaviour: cost = 4x^4
Intended use : Equation4 Func; cost = Func(const std::vector<double> variable);
Parameters:
| variable | (input) vector containing coordinates of x |
Implements Unfit::GenericCostFunction.
1.8.13