Package edu.jas.ufd

Class HenselApprox<MOD extends GcdRingElem<MOD> & Modular>

  • Type Parameters:
    MOD - coefficient type
    All Implemented Interfaces:
    java.io.Serializable

    public class HenselApprox<MOD extends GcdRingElem<MOD> & Modular>
    extends java.lang.Object
    implements java.io.Serializable
    Container for the approximation result from a Hensel algorithm.
    Author:
    Heinz Kredel
    See Also:
    Serialized Form
    • Method Detail

      • toString

        public java.lang.String toString()
        Get the String representation.
        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 container.
        See Also:
        ElemFactory.toScript()
      • hashCode

        public int hashCode()
        Hash code for this Factors.
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • equals

        public boolean equals​(java.lang.Object B)
        Comparison with any other object.
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • approximationSize

        public BigInteger approximationSize()
        Get modul of modular polynomial.
        Returns:
        coefficient modul of polynomial mpol.