|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
Base class for least square problem. More...
#include <leastsquare.hpp>
Collaboration diagram for LeastSquareProblem:Public Member Functions | |
| virtual | ~LeastSquareProblem ()=default |
| virtual Size | size ()=0 |
| size of the problem ie size of target vector More... | |
| virtual void | targetAndValue (const Array &x, Array &target, Array &fct2fit)=0 |
| compute the target vector and the values of the function to fit More... | |
| virtual void | targetValueAndGradient (const Array &x, Matrix &grad_fct2fit, Array &target, Array &fct2fit)=0 |
Base class for least square problem.
Definition at line 38 of file leastsquare.hpp.
|
virtualdefault |
|
pure virtual |
size of the problem ie size of target vector
Here is the caller graph for this function:compute the target vector and the values of the function to fit
Here is the caller graph for this function: