|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.analysis.polynomials.DoublePolynomialRing
public class DoublePolynomialRing
DOCUMENT ME!
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jscience.mathematics.algebraic.fields.Ring |
|---|
Ring.Member |
| Field Summary | |
|---|---|
static DoublePolynomial |
ONE
DOCUMENT ME! |
static DoublePolynomial |
ZERO
DOCUMENT ME! |
| Constructor Summary | |
|---|---|
protected |
DoublePolynomialRing()
Creates a new instance of PolynomialRing |
| Method Summary | |
|---|---|
static DoublePolynomialRing |
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 Double[] |
toDouble(double[] d)
internal method for safe typecast |
protected static double[] |
toDouble(Field.Member[] f)
internal method for safe typecast |
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 |
| Field Detail |
|---|
public static final DoublePolynomial ZERO
public static final DoublePolynomial ONE
| Constructor Detail |
|---|
protected DoublePolynomialRing()
| Method Detail |
|---|
public static final DoublePolynomialRing getInstance()
public boolean isNegative(AbelianGroup.Member a,
AbelianGroup.Member b)
isNegative in interface AbelianGroupa - a group memberb - a group member
java.lang.IllegalArgumentException - DOCUMENT ME!public boolean isOne(Ring.Member r)
isOne in interface Ringr - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!public boolean isZero(AbelianGroup.Member g)
isZero in interface AbelianGroupg - a group member
java.lang.IllegalArgumentException - DOCUMENT ME!public Ring.Member one()
one in interface Ringpublic AbelianGroup.Member zero()
zero in interface AbelianGroupprotected static double[] toDouble(Field.Member[] f)
f - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!protected static Double[] toDouble(double[] d)
d - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||