|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.analysis.ExactComplexFunction
org.jscience.mathematics.analysis.polynomials.ExactComplexPolynomial
public class ExactComplexPolynomial
A Polynomial over the ExactComplex field. For a description of the methods
ExactRealPolynomial,
Serialized Form| Constructor Summary | |
|---|---|
ExactComplexPolynomial(ExactComplex[] coeff)
Creates a new instance of ExactComplexPolynomial, polynom is always simplified discarding every trailing zeros and array copied (but not contents of elements). |
|
ExactComplexPolynomial(ExactComplexPolynomial polynomial)
Creates a new instance of ExactComplexPolynomial, polynom is always simplified discarding every trailing zeros. |
|
ExactComplexPolynomial(Field.Member[] f)
Creates a new ExactComplexPolynomial object. |
|
| Method Summary | |
|---|---|
AbelianGroup.Member |
add(AbelianGroup.Member g)
The group composition law. |
java.lang.Object |
clone()
DOCUMENT ME! |
int |
degree()
DOCUMENT ME! |
ExactComplexFunction |
differentiate()
Differentiate the complex polynomial. |
boolean |
equals(java.lang.Object o)
DOCUMENT ME! |
Field.Member |
getCoefficient(int n)
DOCUMENT ME! |
ExactComplex |
getCoefficientAsExactComplex(int n)
DOCUMENT ME! |
Field.Member[] |
getCoefficients()
Get the coefficients as an array |
ExactComplex[] |
getCoefficientsAsExactComplexes()
Return the coefficients as an array of ExactComplex numbers. |
java.lang.Object |
getSet()
DOCUMENT ME! |
int |
hashCode()
|
ExactComplexPolynomial |
integrate()
"inverse" operation for differentiate, zero degree constant set to zero |
boolean |
isOne()
DOCUMENT ME! |
boolean |
isZero()
DOCUMENT ME! |
ExactComplex |
map(double x,
double y)
Evaluates this polynomial. |
ExactComplex |
map(ExactComplex z)
Evaluates this polynomial. |
Ring.Member |
multiply(Ring.Member r)
The multiplication law. |
AbelianGroup.Member |
negate()
Returns the inverse member. |
ExactComplexPolynomial |
scalarDivide(ExactComplex a)
Returns the division of this polynomial by a scalar. |
ExactComplexPolynomial |
scalarDivide(ExactReal a)
Returns the division of this polynomial by a scalar. |
Polynomial |
scalarDivide(Field.Member f)
Returns the division of this polynomial by a scalar. |
ExactComplexPolynomial |
scalarMultiply(ExactComplex a)
Returns the multiplication of this polynomial by a scalar. |
ExactComplexPolynomial |
scalarMultiply(ExactReal a)
Returns the multiplication of this polynomial by a scalar. |
Polynomial |
scalarMultiply(Field.Member f)
Returns the multiplication of this polynomial by a scalar. |
void |
setCoefficient(int n,
Field.Member c)
DOCUMENT ME! |
void |
setCoefficientAsExactComplex(int n,
ExactComplex c)
DOCUMENT ME! |
AbelianGroup.Member |
subtract(AbelianGroup.Member g)
The group composition law with inverse. |
java.lang.String |
toString()
|
java.lang.String |
toString(java.lang.String unknown)
String representation P(x) = a_k x^k +... |
| Methods inherited from class org.jscience.mathematics.analysis.ExactComplexFunction |
|---|
add, compose, divide, divide, getIntervalsList, inverse, map, multiply, setIntervalsList, subtract, taylorExpand |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExactComplexPolynomial(ExactComplex[] coeff)
coeff - DOCUMENT ME!
java.lang.NullPointerException - DOCUMENT ME!public ExactComplexPolynomial(ExactComplexPolynomial polynomial)
polynomial - DOCUMENT ME!public ExactComplexPolynomial(Field.Member[] f)
f - | Method Detail |
|---|
public Field.Member getCoefficient(int n)
getCoefficient in interface Polynomialn -
public ExactComplex getCoefficientAsExactComplex(int n)
n -
public Field.Member[] getCoefficients()
Polynomial
getCoefficients in interface Polynomialpublic ExactComplex[] getCoefficientsAsExactComplexes()
public void setCoefficient(int n,
Field.Member c)
n - c - DOCUMENT ME!
public void setCoefficientAsExactComplex(int n,
ExactComplex c)
n - c - DOCUMENT ME!public ExactComplex map(ExactComplex z)
map in class ExactComplexFunctionz - DOCUMENT ME!
public ExactComplex map(double x,
double y)
x - DOCUMENT ME!y - DOCUMENT ME!
public int degree()
degree in interface Polynomialpublic java.lang.Object getSet()
public boolean isZero()
public boolean isOne()
public AbelianGroup.Member add(AbelianGroup.Member g)
add in interface AbelianGroup.Memberadd in class ExactComplexFunctiong - a group member
public ExactComplexFunction differentiate()
differentiate in interface C1Functiondifferentiate in class ExactComplexFunctionpublic Polynomial scalarDivide(Field.Member f)
scalarDivide in interface Polynomialf -
java.lang.IllegalArgumentException - DOCUMENT ME!public ExactComplexPolynomial scalarDivide(ExactComplex a)
a -
public ExactComplexPolynomial scalarDivide(ExactReal a)
a -
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto -
public int hashCode()
hashCode in class java.lang.Objectpublic ExactComplexPolynomial integrate()
public Polynomial scalarMultiply(Field.Member f)
scalarMultiply in interface Polynomialf -
java.lang.IllegalArgumentException - DOCUMENT ME!public ExactComplexPolynomial scalarMultiply(ExactReal a)
a -
public ExactComplexPolynomial scalarMultiply(ExactComplex a)
a -
public Ring.Member multiply(Ring.Member r)
multiply in interface Ring.Membermultiply in class ExactComplexFunctionr - a ring member
public AbelianGroup.Member negate()
negate in interface AbelianGroup.Membernegate in class ExactComplexFunctionpublic AbelianGroup.Member subtract(AbelianGroup.Member g)
subtract in interface AbelianGroup.Membersubtract in class ExactComplexFunctiong - a group member
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String unknown)
unknown - The name of the unkwown
public java.lang.Object clone()
clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||