Package org.ddogleg.optimization.loss
Class LossCauchy.Gradient
java.lang.Object
org.ddogleg.optimization.loss.LossFunctionBase
org.ddogleg.optimization.loss.LossCauchy
org.ddogleg.optimization.loss.LossCauchy.Gradient
- All Implemented Interfaces:
FunctionNtoN
,LossFunctionGradient
- Enclosing class:
- LossCauchy
Implementation of the smooth Cauchy loss gradient
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ddogleg.optimization.loss.LossCauchy
LossCauchy.Function, LossCauchy.Gradient
-
Field Summary
Fields inherited from class org.ddogleg.optimization.loss.LossCauchy
alpha
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(double alpha)
-
-
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.
-