Class PrimaryComponent<C extends GcdRingElem<C>>

java.lang.Object
edu.jas.application.PrimaryComponent<C>
All Implemented Interfaces:
Serializable

public class PrimaryComponent<C extends GcdRingElem<C>> extends Object implements Serializable
Container for primary components of ideals.
See Also:
  • Field Details

    • primary

      public final Ideal<C extends GcdRingElem<C>> primary
      The primary ideal.
    • prime

      public final IdealWithUniv<C extends GcdRingElem<C>> 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

      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 Details

    • getExponent

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

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

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

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