    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JSci.maths.fields.ComplexField

    java.lang.Object
       |
       +----JSci.maths.fields.ComplexField

public final class ComplexField
extends Object
implements Field

The ComplexField class encapsulates the field of complex numbers.

##

HALF
HALF_I
I
MINUS_HALF
MINUS_HALF_I
MINUS_I
MINUS_ONE
MINUS_PI_2
MINUS_PI_2_I
MINUS_SQRT_HALF_I
MINUS_TWO
ONE
PI
PI_2
PI_2_I
PI_I
SQRT_HALF
SQRT_HALF_I
TWO
ZERO

##

ComplexField()
  Constructs a field of complex numbers.

##

isInverse(FieldMember, FieldMember)
  Returns true if one complex number is the inverse of the other.
isNegative(AbelianGroupMember, AbelianGroupMember)
  Returns true if one complex number is the negative of the other.
isOne(RingMember)
  Returns true if the complex number is equal to one.
isZero(AbelianGroupMember)
  Returns true if the complex number is equal to zero.
one()
  Returns the complex number zero.
zero()
  Returns the complex number zero.

##

ZERO

     public static final Complex ZERO

I

     public static final Complex I

ONE

     public static final Complex ONE

MINUS_ONE

     public static final Complex MINUS_ONE

MINUS_I

     public static final Complex MINUS_I

HALF

     public static final Complex HALF

MINUS_HALF

     public static final Complex MINUS_HALF

HALF_I

     public static final Complex HALF_I

MINUS_HALF_I

     public static final Complex MINUS_HALF_I

TWO

     public static final Complex TWO

MINUS_TWO

     public static final Complex MINUS_TWO

SQRT_HALF

     public static final Complex SQRT_HALF

SQRT_HALF_I

     public static final Complex SQRT_HALF_I

MINUS_SQRT_HALF_I

     public static final Complex MINUS_SQRT_HALF_I

PI

     public static final Complex PI

PI_I

     public static final Complex PI_I

PI_2

     public static final Complex PI_2

MINUS_PI_2

     public static final Complex MINUS_PI_2

PI_2_I

     public static final Complex PI_2_I

MINUS_PI_2_I

     public static final Complex MINUS_PI_2_I

##

ComplexField

     public ComplexField()

  Constructs a field of complex numbers.

##

zero

     public AbelianGroupMember zero()

  Returns the complex number zero.

isZero

     public boolean isZero(AbelianGroupMember g)

  Returns true if the complex number is equal to zero.

isNegative

     public boolean isNegative(AbelianGroupMember a,
                               AbelianGroupMember b)

  Returns true if one complex number is the negative of the other.

one

     public RingMember one()

  Returns the complex number zero.

isOne

     public boolean isOne(RingMember r)

  Returns true if the complex number is equal to one.

isInverse

     public boolean isInverse(FieldMember a,
                              FieldMember b)

  Returns true if one complex number is the inverse of the other.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index