Polynomial (gb.gsl)
This class implements a
polynomial with real or complex coefficients.
Properties
Count
|
Return the maximum number of coefficients.
|
Degree
|
Return the polynomial degree, i.e. the index of its greatest non-null coefficient.
|
Methods
Eval
|
Evaluate the polynomial, i.e. return the value of the polynomial for a given value of X .
|
Solve
|
Return the polynomial roots, i.e. solve the following equation: P(x) = 0 , provided that the polynomial coefficient are reals.
|
ToString
|
Return the string representation of a polynomial.
|