26#ifndef quantlib_math_projectedcostfunction_h
27#define quantlib_math_projectedcostfunction_h
42 const Array& parameterValues,
43 const std::vector<bool>& fixParameters);
1-D array used in linear algebra.
Cost function abstract class for optimization problem.
Parameterized cost function.
Real value(const Array &freeParameters) const override
method to overload to compute the cost function value in x
const CostFunction & costFunction_
Array values(const Array &freeParameters) const override
method to overload to compute the cost function values in x
Optimization cost function class.