|
Unfit
3.1.1
Data fitting and optimization software
|
#include <TestFunctions.hpp>
Public Member Functions | |
| std::vector< double > | operator() (const std::vector< double > &x) |
Public Member Functions inherited from Unfit::GenericCostFunction | |
| virtual | ~GenericCostFunction () |
This function simply returns the value that was supplied as the residual for each element. The minimum is always (0,0...). The last entry is not included in what is returned as that is used to store the cost.
|
inlinevirtual |
Calculate and return the cost of this function given the parameter estimates.
| x | A vector containing the parameter estimates |
Implements Unfit::GenericCostFunction.
1.8.13