|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.maths.fields.ComplexField
public final class ComplexField
The ComplexField class encapsulates the field of complex numbers.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface JSci.maths.fields.Field |
---|
Field.Member |
Field Summary | |
---|---|
static Complex |
HALF
|
static Complex |
HALF_I
|
static Complex |
I
|
static Complex |
MINUS_HALF
|
static Complex |
MINUS_HALF_I
|
static Complex |
MINUS_I
|
static Complex |
MINUS_ONE
|
static Complex |
MINUS_PI_2
|
static Complex |
MINUS_PI_2_I
|
static Complex |
MINUS_SQRT_HALF_I
|
static Complex |
MINUS_TWO
|
static Complex |
ONE
|
static Complex |
PI
|
static Complex |
PI_2
|
static Complex |
PI_2_I
|
static Complex |
PI_I
|
static Complex |
SQRT_HALF
|
static Complex |
SQRT_HALF_I
|
static Complex |
TWO
|
static Complex |
ZERO
|
Method Summary | |
---|---|
static ComplexField |
getInstance()
Constructs a field of complex numbers. |
boolean |
isInverse(Field.Member a,
Field.Member b)
Returns true if one complex number is the inverse of the other. |
boolean |
isNegative(AbelianGroup.Member a,
AbelianGroup.Member b)
Returns true if one complex number is the negative of the other. |
boolean |
isOne(Ring.Member r)
Returns true if the complex number is equal to one. |
boolean |
isZero(AbelianGroup.Member g)
Returns true if the complex number is equal to zero. |
Ring.Member |
one()
Returns the complex number one. |
AbelianGroup.Member |
zero()
Returns the complex 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 Complex ZERO
public static final Complex I
public static final Complex ONE
public static final Complex MINUS_ONE
public static final Complex MINUS_I
public static final Complex HALF
public static final Complex MINUS_HALF
public static final Complex HALF_I
public static final Complex MINUS_HALF_I
public static final Complex TWO
public static final Complex MINUS_TWO
public static final Complex SQRT_HALF
public static final Complex SQRT_HALF_I
public static final Complex MINUS_SQRT_HALF_I
public static final Complex PI
public static final Complex PI_I
public static final Complex PI_2
public static final Complex MINUS_PI_2
public static final Complex PI_2_I
public static final Complex MINUS_PI_2_I
Method Detail |
---|
public static final ComplexField 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 |