Interface FunctionNtoN
- All Known Subinterfaces:
LossFunctionGradient
- All Known Implementing Classes:
LossCauchy.Gradient, LossHuber.Gradient, LossHuberSmooth.Gradient, LossIdentity.Gradient, LossIRLS, LossSquared.Gradient, LossTukey.Gradient, LossWeighted, 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
-
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.
-