- All Implemented Interfaces:
Serializable
Container for primary components of ideals.
- See Also:
-
-
Field Summary
Fields
protected int
The exponent of prime for primary.
The associated prime ideal.
-
Constructor Summary
Constructors
protected
protected
protected
-
Method Summary
int
void
Get a scripting compatible string representation.
String representation of the ideal.
-
Field Details
-
primary
The primary ideal.
-
prime
The associated prime ideal.
-
exponent
protected int exponent
The exponent of prime for primary.
-
Constructor Details
-
PrimaryComponent
protected PrimaryComponent()
Constructor not for use.
-
PrimaryComponent
Constructor.
- Parameters:
q
- the primary ideal
p
- the prime ideal.
-
PrimaryComponent
Constructor.
- Parameters:
q
- the primary ideal
p
- the prime ideal.
e
- the exponent of p for q.
-
Method Details
-
getExponent
public int getExponent()
Get exponent.
- Returns:
- exponent.
-
setExponent
public void setExponent(int e)
Set exponent.
- Parameters:
e
- the exponent.
-
toString
String representation of the ideal.
- Overrides:
toString
in class Object
- See Also:
-
-
toScript
Get a scripting compatible string representation.
- Returns:
- script compatible representation for this Element.
- See Also:
-