| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJSci.maths.polynomials.ComplexPolynomialRing
public class ComplexPolynomialRing
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from interface JSci.maths.fields.Ring | 
|---|
Ring.Member | 
| Constructor Summary | |
|---|---|
protected  | 
ComplexPolynomialRing()
Creates a new instance of ComplexPolynomialRing  | 
| Method Summary | |
|---|---|
static ComplexPolynomialRing | 
getInstance()
Singleton.  | 
 boolean | 
isNegative(AbelianGroup.Member a,
           AbelianGroup.Member b)
Returns true if one member is the negative of the other.  | 
 boolean | 
isOne(Ring.Member r)
Returns true if the member is the unit element.  | 
 boolean | 
isZero(AbelianGroup.Member g)
Returns true if the member is the identity element of this group.  | 
 Ring.Member | 
one()
Returns the unit element.  | 
protected static Complex[] | 
toComplex(Field.Member[] f)
Internal method for typesafe cast  | 
 AbelianGroup.Member | 
zero()
Returns the identity element.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
protected ComplexPolynomialRing()
| Method Detail | 
|---|
public static final ComplexPolynomialRing getInstance()
public boolean isNegative(AbelianGroup.Member a,
                          AbelianGroup.Member b)
isNegative in interface AbelianGroupa - a group memberb - a group memberpublic boolean isOne(Ring.Member r)
isOne in interface Ringpublic boolean isZero(AbelianGroup.Member g)
isZero in interface AbelianGroupg - a group memberpublic Ring.Member one()
one in interface Ringpublic AbelianGroup.Member zero()
zero in interface AbelianGroupprotected static Complex[] toComplex(Field.Member[] f)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||