Documentation of 'org.ddogleg.optimization.impl.TrivialFunctionNtoS' Java class
TrivialFunctionNtoS
org.ddogleg.optimization.impl

Class TrivialFunctionNtoS

  • All Implemented Interfaces:
    FunctionNtoS


    public class TrivialFunctionNtoS
    extends java.lang.Object
    implements FunctionNtoS
    Test function with a minimum at 0 and minimum value of 0. One of the variables is redundant.
    • 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

      • TrivialFunctionNtoS

        public TrivialFunctionNtoS()
    • 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.