|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.maths.fields.RealField
public final class RealField
The RealField class encapsulates the field of real numbers.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface JSci.maths.fields.Field |
---|
Field.Member |
Field Summary | |
---|---|
static MathDouble |
E
|
static MathDouble |
GAMMA
|
static MathDouble |
INFINITY
|
static MathDouble |
NaN
|
static MathDouble |
ONE
|
static MathDouble |
PI
|
static MathDouble |
ZERO
|
Method Summary | |
---|---|
static RealField |
getInstance()
Constructs a field of real 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 MathDouble ZERO
public static final MathDouble ONE
public static final MathDouble PI
public static final MathDouble E
public static final MathDouble GAMMA
public static final MathDouble INFINITY
public static final MathDouble NaN
Method Detail |
---|
public static final RealField getInstance()
public AbelianGroup.Member zero()
zero
in interface AbelianGroup
public boolean isZero(AbelianGroup.Member g)
isZero
in interface AbelianGroup
g
- a group memberpublic boolean isNegative(AbelianGroup.Member a, AbelianGroup.Member b)
isNegative
in interface AbelianGroup
a
- a group memberb
- a group memberpublic Ring.Member one()
one
in interface Ring
public boolean isOne(Ring.Member r)
isOne
in interface Ring
public boolean isInverse(Field.Member a, Field.Member b)
isInverse
in interface Field
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |