Documentation of 'org.ddogleg.optimization.functions.FunctionNtoM' Java class
FunctionNtoM
org.ddogleg.optimization.functions

Interface FunctionNtoM

    • Method Detail

      • getNumOfInputsN

        int getNumOfInputsN()
        Number of input elements. Typically the parameters you are optimizing.
        Returns:
        number of input elements
      • getNumOfOutputsM

        int getNumOfOutputsM()
        Number of output elements. Typically the functions that are being optimized.
        Returns:
        number of output elements
      • process

        void process(double[] input,
                     double[] output)
        Processes the input to compute the values found in the output array. The output's meaning depends on the application. For least-squares it is the residual error. See UnconstrainedLeastSquares.

        The user can modify the input parameters here and the optimizer must use those changes.

        Parameters:
        input - Parameters for input model.
        output - Storage for the output give the model.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.