Function
joptima

Interface Function

    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      doublecalculate(double x)
      Calculates the value of the function at the given point using the preset parameters.
      StringgetName()
      Gets the (user-settable) name of this function.
      Parameter[]getParameters()
      Lists all the mutable parameters to this function.
      voidsetName(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

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

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

SCaVis 2.2 © jWork.ORG