Interface FunctionNtoS
- All Known Subinterfaces:
LossFunction
- All Known Implementing Classes:
LossCauchy.Function,LossHuber.Function,LossHuberSmooth.Function,LossIdentity.Function,LossIRLS,LossSquared.Function,LossTukey.Function,LossWeighted,LsToNonLinear
public interface FunctionNtoS
Function for non-linear optimization that has a single output and N inputs.
-
Method Summary
Modifier and TypeMethodDescriptionintThe number of inputs.doubleprocess(double[] input) Computes the output given an array of inputs.
-
Method Details
-
getNumOfInputsN
int getNumOfInputsN()The number of inputs. Typically the parameters you are optimizing.- Returns:
- Number of inputs.
-
process
double process(double[] input) Computes the output given an array of inputs.- Parameters:
input- Array containing input values- Returns:
- The output.
-