Package org.ddogleg.optimization.loss
Class LossIdentity.Gradient
java.lang.Object
org.ddogleg.optimization.loss.LossFunctionBase
org.ddogleg.optimization.loss.LossIdentity
org.ddogleg.optimization.loss.LossIdentity.Gradient
- All Implemented Interfaces:
FunctionNtoN
,LossFunctionGradient
- Enclosing class:
- LossIdentity
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ddogleg.optimization.loss.LossIdentity
LossIdentity.Function, LossIdentity.Gradient
-
Field Summary
Fields inherited from class org.ddogleg.optimization.loss.LossFunctionBase
numberOfFunctions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(double[] input, double[] output) Processes the function.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ddogleg.optimization.loss.LossFunctionGradient
getN, getNumberOfFunctions, setNumberOfFunctions
-
Constructor Details
-
Gradient
public Gradient()
-
-
Method Details
-
process
public void process(double[] input, double[] output) Description copied from interface:FunctionNtoN
Processes the function.- Specified by:
process
in interfaceFunctionNtoN
- Parameters:
input
- Array with the inputs of length N. Not modified.output
- Array for storing the output of length N. Modified.
-