Package org.apache.commons.numbers.field
Class BigFractionField
- java.lang.Object
-
- org.apache.commons.numbers.field.AbstractField<BigFraction>
-
- org.apache.commons.numbers.field.BigFractionField
-
- All Implemented Interfaces:
Field<BigFraction>
public final class BigFractionField extends AbstractField<BigFraction>
BigFractionfield.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BigFractionFieldget()Get the field instance.BigFractionone()Return the value of one.BigFractionzero()Return the value of zero.-
Methods inherited from class org.apache.commons.numbers.field.AbstractField
add, divide, multiply, multiply, negate, reciprocal, subtract
-
-
-
-
Method Detail
-
get
public static BigFractionField get()
Get the field instance.- Returns:
- the field instance.
-
one
public BigFraction one()
Return the value of one.- Returns:
- the field element
1such that for alla,1 * a == a.
-
zero
public BigFraction zero()
Return the value of zero.- Returns:
- the field element
0such that for alla,0 + a == a.
-
-