public class PrimaryComponent<C extends GcdRingElem<C>> extends java.lang.Object implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected int |
exponent
The exponent of prime for primary.
|
Ideal<C> |
primary
The primary ideal.
|
IdealWithUniv<C> |
prime
The associated prime ideal.
|
| Modifier | Constructor and Description |
|---|---|
protected |
PrimaryComponent()
Constructor not for use.
|
protected |
PrimaryComponent(Ideal<C> q,
IdealWithUniv<C> p)
Constructor.
|
protected |
PrimaryComponent(Ideal<C> q,
IdealWithUniv<C> p,
int e)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getExponent()
Get exponent.
|
void |
setExponent(int e)
Set exponent.
|
java.lang.String |
toScript()
Get a scripting compatible string representation.
|
java.lang.String |
toString()
String representation of the ideal.
|
public final Ideal<C extends GcdRingElem<C>> primary
public final IdealWithUniv<C extends GcdRingElem<C>> prime
protected int exponent
protected PrimaryComponent()
protected PrimaryComponent(Ideal<C> q, IdealWithUniv<C> p)
q - the primary idealp - the prime ideal.protected PrimaryComponent(Ideal<C> q, IdealWithUniv<C> p, int e)
q - the primary idealp - the prime ideal.e - the exponent of p for q.public int getExponent()
public void setExponent(int e)
e - the exponent.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String toScript()
Element.toScript()