Class MathFunctionImpl


  • public class MathFunctionImpl
    extends Object
    Author:
    ashish
    • Field Detail

      • FACTDOUBLE

        public static final Function FACTDOUBLE
      • MDETERM

        public static final Function MDETERM
      • MINVERSE

        public static final Function MINVERSE
      • MMULT

        public static final Function MMULT
      • MROUND

        public static final Function MROUND
      • MULTINOMIAL

        public static final Function MULTINOMIAL
      • QUOTIENT

        public static final Function QUOTIENT
      • RANDBETWEEN

        public static final Function RANDBETWEEN
      • ROMAN

        public static final Function ROMAN
      • SQRTPI

        public static final Function SQRTPI
    • Constructor Detail

      • MathFunctionImpl

        public MathFunctionImpl()
    • Method Detail

      • gcd

        public static int gcd​(int m,
                              int n)
                       throws EvaluationException
        Returns the greatest common divisor
        Parameters:
        m - - number 1
        n - - number 2
        Returns:
        the greatest common divisor
        Throws:
        EvaluationException