Documentation of 'org.statcato.calculator.MathFunction' Java class
MathFunction
org.statcato.calculator

Class MathFunction



  • public class MathFunction
    extends java.lang.Object
    A mathematical function object defined by a type.
    Since:
    1.0
    See Also:
    MathFunctions
    • Constructor Summary

      Constructors 
      Constructor and Description
      MathFunction(int type, boolean isRadian) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      CompUnit call(CompUnit c)
      Performs a function call on the given computation unit.
      double call1(double argument)
      Performs a function call on the given double value.
      • Methods inherited from class java.lang.Object

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

      • MathFunction

        public MathFunction(int type,
                            boolean isRadian)
    • Method Detail

      • call

        public CompUnit call(CompUnit c)
        Performs a function call on the given computation unit.
        Parameters:
        c - computational unit
        Returns:
        the result of calling the function on the argument
      • call1

        public double call1(double argument)
        Performs a function call on the given double value.
        Parameters:
        argument - double value
        Returns:
        the result of calling the function on the given double value

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.