C
- coefficient typepublic class PartialFraction<C extends GcdRingElem<C>> extends java.lang.Object implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object B)
Comparison with any other object.
|
int |
hashCode()
Hash code for this Factors.
|
boolean |
isPartialFraction()
Test if correct partial fraction. num/den = sum( a_i / d_i )
|
java.lang.String |
toScript()
Get a scripting compatible string representation.
|
java.lang.String |
toString()
Get the String representation.
|
public final GenPolynomial<C extends GcdRingElem<C>> num
public final GenPolynomial<C extends GcdRingElem<C>> den
public final java.util.List<C extends GcdRingElem<C>> cfactors
public final java.util.List<GenPolynomial<C extends GcdRingElem<C>>> cdenom
public final java.util.List<AlgebraicNumber<C extends GcdRingElem<C>>> afactors
public final java.util.List<GenPolynomial<AlgebraicNumber<C extends GcdRingElem<C>>>> adenom
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)
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 linear (irreducible) factors d_i of d with algebraic
coefficients. n/d = sum( a_i / d_i )public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String toScript()
ElemFactory.toScript()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object B)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public boolean isPartialFraction()