|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJSci.maths.polynomials.ComplexPolynomial
public class ComplexPolynomial
A Polynomial over the complex field. For a description of the methods
RealPolynomial,
Serialized Form| Constructor Summary | |
|---|---|
ComplexPolynomial(Complex[] coeff)
Creates a new instance of ComplexPolynomial |
|
ComplexPolynomial(Field.Member[] f)
Creates a new ComplexPolynomial object. |
|
| Method Summary | |
|---|---|
AbelianGroup.Member |
add(AbelianGroup.Member g)
The group composition law. |
int |
degree()
The degree. |
boolean |
equals(java.lang.Object o)
|
Field.Member |
getCoefficient(int n)
Get the coefficient of degree k, i.e. |
Complex |
getCoefficientAsComplex(int n)
|
Field.Member[] |
getCoefficients()
Get the coefficients as an array |
Complex[] |
getCoefficientsAsComplexes()
Return the coefficients as an array of complex numbers. |
java.lang.Object |
getSet()
|
int |
hashCode()
|
boolean |
isOne()
|
boolean |
isZero()
|
Complex |
map(Complex z)
Evaluates this polynomial. |
Complex |
map(double x,
double y)
Evaluates this polynomial. |
Ring.Member |
multiply(Ring.Member r)
The multiplication law. |
AbelianGroup.Member |
negate()
Returns the inverse member. |
ComplexPolynomial |
scalarDivide(Complex a)
Returns the division of this polynomial by a scalar. |
ComplexPolynomial |
scalarDivide(double a)
Returns the division of this polynomial by a scalar. |
Polynomial |
scalarDivide(Field.Member f)
Returns the division of this polynomial by a scalar. |
ComplexPolynomial |
scalarMultiply(Complex a)
Returns the multiplication of this polynomial by a scalar. |
ComplexPolynomial |
scalarMultiply(double a)
Returns the multiplication of this polynomial by a scalar. |
Polynomial |
scalarMultiply(Field.Member f)
Returns the multiplication of this polynomial by a scalar. |
AbelianGroup.Member |
subtract(AbelianGroup.Member g)
The group composition law with inverse. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ComplexPolynomial(Complex[] coeff)
public ComplexPolynomial(Field.Member[] f)
f - | Method Detail |
|---|
public Field.Member getCoefficient(int n)
Polynomial
getCoefficient in interface Polynomialn -
public Complex getCoefficientAsComplex(int n)
n - public Field.Member[] getCoefficients()
Polynomial
getCoefficients in interface Polynomialpublic Complex[] getCoefficientsAsComplexes()
public Complex map(Complex z)
public Complex map(double x,
double y)
public int degree()
Polynomial
degree in interface Polynomialpublic java.lang.Object getSet()
getSet in interface Memberpublic boolean isZero()
public boolean isOne()
public AbelianGroup.Member add(AbelianGroup.Member g)
add in interface AbelianGroup.Memberg - a group memberpublic Polynomial scalarDivide(Field.Member f)
scalarDivide in interface Polynomialf -
public ComplexPolynomial scalarDivide(Complex a)
a - public ComplexPolynomial scalarDivide(double a)
a - public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - public int hashCode()
hashCode in class java.lang.Objectpublic Polynomial scalarMultiply(Field.Member f)
scalarMultiply in interface Polynomialf -
public ComplexPolynomial scalarMultiply(double a)
a - public ComplexPolynomial scalarMultiply(Complex a)
a - public Ring.Member multiply(Ring.Member r)
multiply in interface Ring.Memberr - a ring memberpublic AbelianGroup.Member negate()
negate in interface AbelianGroup.Memberpublic AbelianGroup.Member subtract(AbelianGroup.Member g)
subtract in interface AbelianGroup.Memberg - a group memberpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||