Package org.ddogleg.optimization.wrap
Class Individual_to_CoupledDerivative
java.lang.Object
org.ddogleg.optimization.wrap.Individual_to_CoupledDerivative
- All Implemented Interfaces:
CoupledDerivative
Takes two functions which independently computes the function's value and derivative and allows them
to be used in a coupled function.
-
Constructor Summary
ConstructorDescriptionIndividual_to_CoupledDerivative
(FunctionStoS function, FunctionStoS derivative) -
Method Summary
-
Constructor Details
-
Individual_to_CoupledDerivative
-
-
Method Details
-
setInput
public void setInput(double x) - Specified by:
setInput
in interfaceCoupledDerivative
-
computeFunction
public double computeFunction()- Specified by:
computeFunction
in interfaceCoupledDerivative
-
computeDerivative
public double computeDerivative()- Specified by:
computeDerivative
in interfaceCoupledDerivative
-