Documentation of 'vmm3d.functions.ComplexFunction' Java class
ComplexFunction
vmm3d.functions

Class ComplexFunction

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getArity()
      Gets the number of arguments that are required by this function.
      java.lang.String getName()
      Gets the name of this function.
      void setName(java.lang.String name)
      Changes the name of this function.
      Complex value(Complex[] argumentValues)
      Finds the value of the function at a specified list of argument values, using an EvalStack that is unique to the current Thread, allowing evaluation in a thread-safe manner.
      Complex value(Complex[] argumentValues, EvalStack stack)
      Finds the value of the function at a specified list of argument values, using an EvalStack that is passed as a parameter.
      void value(Complex[] argumentValues, EvalStack stack, Complex answer)
      Finds the value of the function at a specified list of argument values, using an EvalStack that is passed as a parameter, and place the answer in an existing Complex object.
      Complex value(double... arg)
      Finds the value of the function at a specified list of argument values, using an EvalStack that is unique to the current Thread, allowing evaluation in a thread-safe manner.
      Complex value(double[] argumentValues, EvalStack stack)
      Finds the value of the function at a specified list of argument values, using an EvalStack that is passed as a parameter.
      void value(double[] argumentValues, EvalStack stack, Complex answer)
      Finds the value of the function at a specified list of argument values, using an EvalStack that is passed as a parameter, and place the answer in an existing Complex object.
      • Methods inherited from class java.lang.Object

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

      • setName

        public void setName(java.lang.String name)
        Changes the name of this function. The name should not be changed after the function has been added to a Parser; if it is, the parser will still use the old name.
      • getArity

        public int getArity()
        Gets the number of arguments that are required by this function.
      • value

        public Complex value(Complex[] argumentValues)
        Finds the value of the function at a specified list of argument values, using an EvalStack that is unique to the current Thread, allowing evaluation in a thread-safe manner.
        Parameters:
        argumentValues - the values of the arguments. The length of this array must be the same as the number of arguments of the function. If the function has arrity zero, then the argumentValues array can be null. The Complex objects in this array must be non-null.
      • value

        public Complex value(double... arg)
        Finds the value of the function at a specified list of argument values, using an EvalStack that is unique to the current Thread, allowing evaluation in a thread-safe manner.
        Parameters:
        arg - the values of the arguments. The number of arguments passed must be equal to the arity of the function multiplied by two. The real numbers passed to this method are grouped into pairs to produce the complex arguements that are passed to the function.
      • value

        public Complex value(Complex[] argumentValues,
                             EvalStack stack)
        Finds the value of the function at a specified list of argument values, using an EvalStack that is passed as a parameter.
        Parameters:
        argumentValues - the values of the arguments. The length of this array must be the same as the number of arguments of the function. If the function has arrity zero, then the argumentValues array can be null. The Complex objects in this array must be non-null.
        stack - the EvalStack that is used for computing the value.
      • value

        public Complex value(double[] argumentValues,
                             EvalStack stack)
        Finds the value of the function at a specified list of argument values, using an EvalStack that is passed as a parameter.
        Parameters:
        argumentValues - the values of the arguments. The length of the array must be equal to the arity of the function multiplied by two. The real numbers iin this array are grouped into pairs to produce the complex arguements that are passed to the function.
        stack - the EvalStack that is used for computing the value.
      • value

        public void value(Complex[] argumentValues,
                          EvalStack stack,
                          Complex answer)
        Finds the value of the function at a specified list of argument values, using an EvalStack that is passed as a parameter, and place the answer in an existing Complex object.
        Parameters:
        argumentValues - the values of the arguments. The length of this array must be the same as the number of arguments of the function. If the function has arrity zero, then the argumentValues array can be null. The Complex objects in this array must be non-null.
        stack - the EvalStack that is used for computing the value.
        answer - the non-null Complex object where the value will be placed
      • value

        public void value(double[] argumentValues,
                          EvalStack stack,
                          Complex answer)
        Finds the value of the function at a specified list of argument values, using an EvalStack that is passed as a parameter, and place the answer in an existing Complex object.
        Parameters:
        argumentValues - the values of the arguments. The length of the array must be equal to the arity of the function multiplied by two. The real numbers iin this array are grouped into pairs to produce the complex arguements that are passed to the function.
        stack - the EvalStack that is used for computing the value.
        answer - the non-null Complex object where the value will be placed

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.