public class PartialFractionIntegrateGenerator extends java.lang.Object implements IPartialFractionGenerator
Constructor and Description |
---|
PartialFractionIntegrateGenerator(ISymbol x) |
Modifier and Type | Method and Description |
---|---|
void |
addNonFractionalPart(edu.jas.poly.GenPolynomial<edu.jas.arith.BigRational> genPolynomial)
Add the non-fractional part of the partial fraction decomposition.
|
void |
addSinglePartialFraction(edu.jas.poly.GenPolynomial<edu.jas.arith.BigRational> genPolynomial,
edu.jas.poly.GenPolynomial<edu.jas.arith.BigRational> Di_1,
int j)
Add a single partial fraction.
|
IExpr |
getResult()
Get the final result.
|
static boolean |
isQuadratic(edu.jas.poly.GenPolynomial<edu.jas.arith.BigInteger> poly,
edu.jas.arith.BigInteger[] result)
Check if the polynomial has maximum degree 2 in 1 variable and return the
coefficients.
|
static boolean |
isQuadratic(edu.jas.poly.GenPolynomial<edu.jas.arith.BigRational> poly,
edu.jas.arith.BigRational[] result)
Check if the polynomial has maximum degree 2 in 1 variable and return the
coefficients.
|
void |
setJAS(JASConvert<edu.jas.arith.BigRational> jas)
Set the used JAS instance.
|
public PartialFractionIntegrateGenerator(ISymbol x)
public void setJAS(JASConvert<edu.jas.arith.BigRational> jas)
IPartialFractionGenerator
setJAS
in interface IPartialFractionGenerator
public IExpr getResult()
IPartialFractionGenerator
getResult
in interface IPartialFractionGenerator
public void addNonFractionalPart(edu.jas.poly.GenPolynomial<edu.jas.arith.BigRational> genPolynomial)
IPartialFractionGenerator
addNonFractionalPart
in interface IPartialFractionGenerator
public void addSinglePartialFraction(edu.jas.poly.GenPolynomial<edu.jas.arith.BigRational> genPolynomial, edu.jas.poly.GenPolynomial<edu.jas.arith.BigRational> Di_1, int j)
IPartialFractionGenerator
addSinglePartialFraction
in interface IPartialFractionGenerator
public static boolean isQuadratic(edu.jas.poly.GenPolynomial<edu.jas.arith.BigRational> poly, edu.jas.arith.BigRational[] result)
poly
- null
if the polynomials degree > 2 and number of
variables <> 1public static boolean isQuadratic(edu.jas.poly.GenPolynomial<edu.jas.arith.BigInteger> poly, edu.jas.arith.BigInteger[] result)
poly
- null
if the polynomials degree > 2 and number of
variables <> 1