Class PrimaryComponent<C extends GcdRingElem<C>>

  • All Implemented Interfaces:
    java.io.Serializable

    public class PrimaryComponent<C extends GcdRingElem<C>>
    extends java.lang.Object
    implements java.io.Serializable
    Container for primary components of ideals.
    See Also:
    Serialized Form
    • Field Detail

      • exponent

        protected int exponent
        The exponent of prime for primary.
    • Constructor Detail

      • PrimaryComponent

        protected PrimaryComponent()
        Constructor not for use.
      • PrimaryComponent

        protected PrimaryComponent​(Ideal<C> q,
                                   IdealWithUniv<C> p)
        Constructor.
        Parameters:
        q - the primary ideal
        p - the prime ideal.
      • PrimaryComponent

        protected PrimaryComponent​(Ideal<C> q,
                                   IdealWithUniv<C> p,
                                   int e)
        Constructor.
        Parameters:
        q - the primary ideal
        p - the prime ideal.
        e - the exponent of p for q.
    • Method Detail

      • getExponent

        public int getExponent()
        Get exponent.
        Returns:
        exponent.
      • setExponent

        public void setExponent​(int e)
        Set exponent.
        Parameters:
        e - the exponent.
      • toString

        public java.lang.String toString()
        String representation of the ideal.
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • toScript

        public java.lang.String toScript()
        Get a scripting compatible string representation.
        Returns:
        script compatible representation for this Element.
        See Also:
        Element.toScript()