Documentation of 'org.ddogleg.optimization.wrap.LsToNonLinear' Java class
LsToNonLinear
org.ddogleg.optimization.wrap

Class LsToNonLinear

  • All Implemented Interfaces:
    FunctionNtoS


    public class LsToNonLinear
    extends java.lang.Object
    implements FunctionNtoS
    Converts a least squares function into a nonlinear optimization function. F(x) = sum f_i(x)^2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getNumOfInputsN()
      The number of inputs.
      double process(double[] input)
      Computes the output given an array of inputs.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getNumOfInputsN

        public int getNumOfInputsN()
        Description copied from interface: FunctionNtoS
        The number of inputs. Typically the parameters you are optimizing.
        Specified by:
        getNumOfInputsN in interface FunctionNtoS
        Returns:
        Number of inputs.
      • process

        public double process(double[] input)
        Description copied from interface: FunctionNtoS
        Computes the output given an array of inputs.
        Specified by:
        process in interface FunctionNtoS
        Parameters:
        input - Array containing input values
        Returns:
        The output.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.