edu.jas.ufd
Class PartialFraction<C extends GcdRingElem<C>>

java.lang.Object
  extended by edu.jas.ufd.PartialFraction<C>
Type Parameters:
C - coefficient type
All Implemented Interfaces:
java.io.Serializable

public class PartialFraction<C extends GcdRingElem<C>>
extends java.lang.Object
implements java.io.Serializable

Container for the partial fraction decomposition of a squarefree denominator. num/den = sum( a_i ( der(d_i) / d_i ) )

Author:
Heinz Kredel
See Also:
Serialized Form

Field Summary
 java.util.List<GenPolynomial<AlgebraicNumber<C>>> adenom
          List of factors of the denominator with coefficients from an AlgebraicNumberRing<C>.
 java.util.List<AlgebraicNumber<C>> afactors
          List of algebraic numbers of an algebraic field extension over C.
 java.util.List<GenPolynomial<C>> cdenom
          List of linear factors of the denominator with coefficients from C.
 java.util.List<C> cfactors
          List of numbers from C.
 GenPolynomial<C> den
          Original (irreducible) denominator polynomial coefficients from C.
 GenPolynomial<C> num
          Original numerator polynomial coefficients from C and deg(num) < deg(den).
 
Constructor Summary
PartialFraction(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.
 
Method Summary
 boolean equals(java.lang.Object B)
          Comparison with any other object.
 int hashCode()
          Hash code for this Factors.
 java.lang.String toScript()
          Get a scripting compatible string representation.
 java.lang.String toString()
          Get the String representation.
 java.lang.String toStringX()
          Get the String representation.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

num

public final GenPolynomial<C extends GcdRingElem<C>> num
Original numerator polynomial coefficients from C and deg(num) < deg(den).


den

public final GenPolynomial<C extends GcdRingElem<C>> den
Original (irreducible) denominator polynomial coefficients from C.


cfactors

public final java.util.List<C extends GcdRingElem<C>> cfactors
List of numbers from C.


cdenom

public final java.util.List<GenPolynomial<C extends GcdRingElem<C>>> cdenom
List of linear factors of the denominator with coefficients from C.


afactors

public final java.util.List<AlgebraicNumber<C extends GcdRingElem<C>>> afactors
List of algebraic numbers of an algebraic field extension over C.


adenom

public final java.util.List<GenPolynomial<AlgebraicNumber<C extends GcdRingElem<C>>>> adenom
List of factors of the denominator with coefficients from an AlgebraicNumberRing<C>.

Constructor Detail

PartialFraction

public PartialFraction(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()

toStringX

public java.lang.String toStringX()
Get the String representation.

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)