Interface FunctionNtoS
- All Known Implementing Classes:
LsToNonLinear
public interface FunctionNtoS
Function for non-linear optimization that has a single output and N inputs.
-
Method Summary
Modifier and TypeMethodDescriptionint
The number of inputs.double
process
(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.
-