|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.analysis.ExactRealFunction
org.jscience.mathematics.analysis.polynomials.ExactRealPolynomialFraction
public class ExactRealPolynomialFraction
This class implements fractions of polynomials with one unknown and real coefficients.
| Constructor Summary | |
|---|---|
ExactRealPolynomialFraction(ExactRealPolynomial p)
Simple constructor. |
|
ExactRealPolynomialFraction(ExactRealPolynomial numerator,
ExactRealPolynomial denominator)
Simple constructor. |
|
ExactRealPolynomialFraction(ExactRealPolynomialFraction f)
Copy-constructor. |
|
| Method Summary | |
|---|---|
ExactRealPolynomialFraction |
add(ExactRealPolynomialFraction f)
Add a fraction to the instance. |
ExactRealPolynomialFraction |
differentiate()
Returns the differential of this function. |
ExactRealPolynomialFraction |
divide(ExactRealPolynomialFraction f)
Divide the instance by a fraction. |
ExactRealPolynomial |
getDenominator()
Get the denominator. |
ExactRealPolynomial |
getNumerator()
Get the numerator. |
ExactRealPolynomialFraction |
invert()
Invert the instance. |
ExactReal |
map(ExactReal x)
Evaluates this polynomial fraction. |
ExactRealPolynomialFraction |
multiply(ExactRealPolynomialFraction f)
Multiply the instance by a fraction. |
ExactRealPolynomialFraction |
negate()
Negate a fraction. |
ExactRealPolynomialFraction |
subtract(ExactRealPolynomialFraction f)
Subtract a fraction to the instance. |
java.lang.String |
toString()
DOCUMENT ME! |
java.lang.String |
toString(java.lang.String unknown)
DOCUMENT ME! |
| Methods inherited from class org.jscience.mathematics.analysis.ExactRealFunction |
|---|
add, add, compose, divide, divide, getIntervalsList, inverse, map, multiply, multiply, setIntervalsList, subtract, subtract, taylorExpand, tensor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExactRealPolynomialFraction(ExactRealPolynomial numerator,
ExactRealPolynomial denominator)
numerator - numerator of the fractiondenominator - denominator of the fraction
java.lang.ArithmeticException - if the denominator is nullpublic ExactRealPolynomialFraction(ExactRealPolynomial p)
p - value of the fractionpublic ExactRealPolynomialFraction(ExactRealPolynomialFraction f)
f - fraction to copy| Method Detail |
|---|
public ExactReal map(ExactReal x)
map in class ExactRealFunctionx - DOCUMENT ME!
public ExactRealPolynomialFraction differentiate()
differentiate in interface C1Functiondifferentiate in class ExactRealFunctionpublic ExactRealPolynomialFraction negate()
negate in interface AbelianGroup.Membernegate in class ExactRealFunctionpublic ExactRealPolynomialFraction add(ExactRealPolynomialFraction f)
f - fraction to add.
public ExactRealPolynomialFraction subtract(ExactRealPolynomialFraction f)
f - fraction to subtract.
public ExactRealPolynomialFraction multiply(ExactRealPolynomialFraction f)
f - fraction to multiply by
public ExactRealPolynomialFraction divide(ExactRealPolynomialFraction f)
f - fraction to divide by
java.lang.ArithmeticException - if f is nullpublic ExactRealPolynomialFraction invert()
java.lang.ArithmeticException - if the instance is nullpublic ExactRealPolynomial getNumerator()
public ExactRealPolynomial getDenominator()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String unknown)
unknown - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||