IInteger
org.matheclipse.core.interfaces

Interface IInteger

    • Method Detail

      • isEven

        boolean isEven()
      • isOdd

        boolean isOdd()
      • getBigNumerator

        BigInteger getBigNumerator()
        Returns the numerator of this Rational.
        Returns:
        numerator
      • multiply

        IInteger multiply(IInteger value)
        Multiply this integer with value
        Parameters:
        value -
        Returns:
      • intValue

        int intValue()
        Converts this large integer to int; unlike ISignedNumber.toInt() this method raises no exception, if this integer cannot be represented by an int type.
        Returns:
        the numeric value represented by this integer after conversion to type int.
      • longValue

        long longValue()
      • gcd

        IInteger gcd(IInteger val)
        Returns the greatest common divisor of this large integer and the one specified.
      • lcm

        IInteger lcm(IInteger val)
        Returns the least common multiple of this large integer and the one specified.
      • nthRootSplit

        IInteger[] nthRootSplit(int n)
        Split this integer into the nth-root (with prime factors less equal 1021) and the "rest factor"
        Returns:
        {nth-root, rest factor}

SCaVis 2.2 © jWork.ORG