org.jquantlib.math.optimization
Class ProjectedCostFunction
- java.lang.Object
-
- org.jquantlib.math.optimization.CostFunction
-
- org.jquantlib.math.optimization.ProjectedCostFunction
-
public class ProjectedCostFunction extends CostFunction
-
-
Constructor Summary
Constructors Constructor and Description ProjectedCostFunction(CostFunction costFunction, Array parameterValues, boolean[] parametersFreedoms)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Arrayinclude(Array projectedParameters)voidmapFreeParameters(Array parametersValues)Arrayproject(Array parameters)doublevalue(Array freeParameters)Method to overload to compute the cost function value inArrayvalues(Array freeParameters)Method to overload to compute the cost function values in-
Methods inherited from class org.jquantlib.math.optimization.CostFunction
finiteDifferenceEpsilon, gradient, valueAndGradient
-
-
-
-
Constructor Detail
-
ProjectedCostFunction
public ProjectedCostFunction(CostFunction costFunction, Array parameterValues, boolean[] parametersFreedoms)
-
-
Method Detail
-
mapFreeParameters
public void mapFreeParameters(Array parametersValues)
-
value
public double value(Array freeParameters)
Description copied from class:CostFunctionMethod to overload to compute the cost function value in- Specified by:
valuein classCostFunction
-
values
public Array values(Array freeParameters)
Description copied from class:CostFunctionMethod to overload to compute the cost function values in- Specified by:
valuesin classCostFunction
-
-
DataMelt 3.0 © DataMelt by jWork.ORG