public interface Polynomial extends Ring.Member
Ring.Member
over a Field
Modifier and Type | Field and Description |
---|---|
static double |
POLYEPS
EPS for equality testing
|
Modifier and Type | Method and Description |
---|---|
int |
degree()
The degree
|
Polynomial |
divide(Field.Member a)
Return a new Polynomial with coefficients divided by a
|
Field.Member |
getCoefficient(int k)
Get the coefficient of degree k, i.e.
|
Field.Member[] |
getCoefficients()
Get the coefficients as an array
|
Polynomial |
multiply(Field.Member a)
Return a new Polynomial with coefficients multiplied by a
|
multiply
add, negate, subtract
static final double POLYEPS
Field.Member getCoefficient(int k)
k
- degreeField.Member[] getCoefficients()
int degree()
Polynomial divide(Field.Member a)
a
- divisorPolynomial multiply(Field.Member a)
a
- factor