org.ddogleg.optimization.wrap
Class Individual_to_CoupledDerivative
- java.lang.Object
-
- org.ddogleg.optimization.wrap.Individual_to_CoupledDerivative
-
- All Implemented Interfaces:
- CoupledDerivative
public class Individual_to_CoupledDerivative extends java.lang.Object implements 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
Constructors Constructor and Description Individual_to_CoupledDerivative(FunctionStoS function, FunctionStoS derivative)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublecomputeDerivative()doublecomputeFunction()voidsetInput(double x)
-
-
-
Constructor Detail
-
Individual_to_CoupledDerivative
public Individual_to_CoupledDerivative(FunctionStoS function, FunctionStoS derivative)
-
-
Method Detail
-
setInput
public void setInput(double x)
- Specified by:
setInputin interfaceCoupledDerivative
-
computeFunction
public double computeFunction()
- Specified by:
computeFunctionin interfaceCoupledDerivative
-
computeDerivative
public double computeDerivative()
- Specified by:
computeDerivativein interfaceCoupledDerivative
-
-
DataMelt 3.0 © DataMelt by jWork.ORG