Package org.ddogleg.optimization.loss
Interface LossFunctionGradient
- All Superinterfaces:
FunctionNtoN
- All Known Implementing Classes:
LossCauchy.Gradient
,LossHuber.Gradient
,LossHuberSmooth.Gradient
,LossIdentity.Gradient
,LossIRLS
,LossSquared.Gradient
,LossTukey.Gradient
,LossWeighted
Analytical gradient for a function that implements
LossFunction
.-
Method Summary
Modifier and TypeMethodDescriptiondefault int
getN()
Returns the number of inputs and outputs for this function.int
Number of elements in the residualvoid
setNumberOfFunctions
(int value) Methods inherited from interface org.ddogleg.optimization.functions.FunctionNtoN
process
-
Method Details
-
getNumberOfFunctions
int getNumberOfFunctions()Number of elements in the residual -
setNumberOfFunctions
void setNumberOfFunctions(int value) -
getN
default int getN()Description copied from interface:FunctionNtoN
Returns the number of inputs and outputs for this function.- Specified by:
getN
in interfaceFunctionNtoN
-