|
Unfit
3.1.1
Data fitting and optimization software
|
Equation3 is defined as (x - 1)^2 + (y - 1)^2. 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 () |
Equation3 is defined as (x - 1)^2 + (y - 1)^2.
Number of dimensions = 2 The global minimum is: 0 at (1, 1)T Initial guess: (10, 10)
|
inlinevirtual |
We overload the operator as is required in GenericCostFunction to calculate the cost of the function.
Behaviour: cost = (x - 1)^2 + (y - 1)^2
Intended use : Equation3 Func; cost = Func(const std::vector<double> variable);
Parameters:
| variable | (input) vector containing coordinates of x and y |
Implements Unfit::GenericCostFunction.
1.8.13