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 intgetN()Returns the number of inputs and outputs for this function.intNumber of elements in the residualvoidsetNumberOfFunctions(int value) Methods inherited from interface 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:FunctionNtoNReturns the number of inputs and outputs for this function.- Specified by:
getNin interfaceFunctionNtoN
-