|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.algebraic.fields.RationalField
public final class RationalField
The RationalField class encapsulates the field of rational numbers.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jscience.mathematics.algebraic.fields.Field |
|---|
Field.Member |
| Field Summary | |
|---|---|
static Rational |
NEGATIVE_INFINITY
DOCUMENT ME! |
static Rational |
ONE
DOCUMENT ME! |
static Rational |
POSITIVE_INFINITY
DOCUMENT ME! |
static Rational |
ZERO
DOCUMENT ME! |
| Method Summary | |
|---|---|
static RationalField |
getInstance()
Constructs a field of rational numbers. |
boolean |
isInverse(Field.Member a,
Field.Member b)
Returns true if one real number is the inverse of the other. |
boolean |
isNegative(AbelianGroup.Member a,
AbelianGroup.Member b)
Returns true if one real number is the negative of the other. |
boolean |
isOne(Ring.Member r)
Returns true if the real number is equal to one. |
boolean |
isZero(AbelianGroup.Member g)
Returns true if the real number is equal to zero. |
Ring.Member |
one()
Returns the real number one. |
AbelianGroup.Member |
zero()
Returns the real number zero. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Rational ZERO
public static final Rational ONE
public static final Rational NEGATIVE_INFINITY
public static final Rational POSITIVE_INFINITY
| Method Detail |
|---|
public static final RationalField getInstance()
public AbelianGroup.Member zero()
zero in interface AbelianGrouppublic boolean isZero(AbelianGroup.Member g)
isZero in interface AbelianGroupg - DOCUMENT ME!
public boolean isNegative(AbelianGroup.Member a,
AbelianGroup.Member b)
isNegative in interface AbelianGroupa - DOCUMENT ME!b - DOCUMENT ME!
public Ring.Member one()
one in interface Ringpublic boolean isOne(Ring.Member r)
isOne in interface Ringr - DOCUMENT ME!
public boolean isInverse(Field.Member a,
Field.Member b)
isInverse in interface Fielda - DOCUMENT ME!b - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||