Interface FunctionNtoN

All Known Implementing Classes:
LsToNonLinearDeriv, NumericalGradientFB, NumericalGradientForward

public interface FunctionNtoN
Function with N inputs and N outputs. The gradient of a function with N inputs and 1 output is the typical usage.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the number of inputs and outputs for this function.
    void
    process(double[] input, double[] output)
    Processes the function.
  • Method Details

    • getN

      int getN()
      Returns the number of inputs and outputs for this function.
    • process

      void process(double[] input, double[] output)
      Processes the function.
      Parameters:
      input - Array with the inputs of length N. Not modified.
      output - Array for storing the output of length N. Modified.