BigRational
edu.jas.arith

Class BigRational

    • Field Detail

      • num

        public final BigInteger num
        Numerator part of the data structure.
      • den

        public final BigInteger den
        Denominator part of the data structure.
      • ZERO

        public static final BigRational ZERO
        The Constant 0.
    • Constructor Detail

      • BigRational

        public BigRational(BigInteger n)
        Constructor for a BigRational from math.BigIntegers.
        Parameters:
        n - math.BigInteger.
      • BigRational

        public BigRational(BigInteger n)
        Constructor for a BigRational from jas.arith.BigIntegers.
        Parameters:
        n - edu.jas.arith.BigInteger.
      • BigRational

        public BigRational(BigInteger n,           BigInteger d)
        Constructor for a BigRational from jas.arith.BigIntegers.
        Parameters:
        n - edu.jas.arith.BigInteger.
        d - edu.jas.arith.BigInteger.
      • BigRational

        public BigRational(long n,           long d)
        Constructor for a BigRational from longs.
        Parameters:
        n - long.
        d - long.
      • BigRational

        public BigRational(long n)
        Constructor for a BigRational from longs.
        Parameters:
        n - long.
      • BigRational

        public BigRational()
        Constructor for a BigRational with no arguments.

SCaVis 2.2 © jWork.ORG