Interface LossFunctionGradient

All Superinterfaces:
FunctionNtoN
All Known Implementing Classes:
LossCauchy.Gradient, LossHuber.Gradient, LossHuberSmooth.Gradient, LossIdentity.Gradient, LossIRLS, LossSquared.Gradient, LossTukey.Gradient, LossWeighted

public interface LossFunctionGradient extends FunctionNtoN
Analytical gradient for a function that implements LossFunction.
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    Returns the number of inputs and outputs for this function.
    int
    Number of elements in the residual
    void
     

    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 interface FunctionNtoN