Class FractionField

  • All Implemented Interfaces:
    Field<org.apache.commons.numbers.fraction.Fraction>

    public final class FractionField
    extends AbstractField<org.apache.commons.numbers.fraction.Fraction>
    Fraction field.
    • Method Detail

      • get

        public static FractionField get()
        Get the field instance.
        Returns:
        the field instance.
      • one

        public org.apache.commons.numbers.fraction.Fraction one()
        Return the value of one.
        Returns:
        the field element 1 such that for all a, 1 * a == a.
      • zero

        public org.apache.commons.numbers.fraction.Fraction zero()
        Return the value of zero.
        Returns:
        the field element 0 such that for all a, 0 + a == a.