Class LogIntegral<C extends GcdRingElem<C>>

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

    public class LogIntegral<C extends GcdRingElem<C>>
    extends java.lang.Object
    implements java.io.Serializable
    Container for the logarithmic part of a rational function integral. num/den = sum( a_i ( der(d_i) / d_i ) ) integrate(num/den) = sum( a_i log ( d_i ) )
    Author:
    Heinz Kredel
    See Also:
    Serialized Form
    • Constructor Detail

      • LogIntegral

        public LogIntegral​(GenPolynomial<C> n,
                           GenPolynomial<C> d,
                           java.util.List<C> cf,
                           java.util.List<GenPolynomial<C>> cd,
                           java.util.List<AlgebraicNumber<C>> af,
                           java.util.List<GenPolynomial<AlgebraicNumber<C>>> ad)
        Constructor.
        Parameters:
        n - numerator GenPolynomial over C.
        d - irreducible denominator GenPolynomial over C.
        cf - list of elements a_i.
        cd - list of linear factors d_i of d.
        af - list of algebraic elements a_i.
        ad - list of irreducible factors d_i of d with algebraic coefficients. n/d = sum( a_i ( der(d_i) / d_i ) )
    • 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)