Documentation of 'joptima.Function' Java class
Function
joptima

Interface Function

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      double calculate(double x)
      Calculates the value of the function at the given point using the preset parameters.
      java.lang.String getName()
      Gets the (user-settable) name of this function.
      Parameter[] getParameters()
      Lists all the mutable parameters to this function.
      void setName(java.lang.String newname)
      Overrides the default function name.
    • Method Detail

      • getParameters

        Parameter[] getParameters()
        Lists all the mutable parameters to this function.
        Returns:
        a Parameter[] of delegates that access the proper member variables.
      • calculate

        double calculate(double x)
        Calculates the value of the function at the given point using the preset parameters.
        Parameters:
        x - the x coordinate to calculate the function at
        Returns:
        the value of the function at the given coordinate
      • getName

        java.lang.String getName()
        Gets the (user-settable) name of this function.
        Returns:
        the name of the function
      • setName

        void setName(java.lang.String newname)
        Overrides the default function name.
        Parameters:
        newname - the new name for the function

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.