Polynomial (gb.gsl)

This class implements a polynomial with real or complex coefficients.

Esta clase es instanciable.

Esta clase se puede usar como un/una función.

Esta clase actúa como un array de lectura / escritura.

Propiedades
Count   Return the maximum number of coefficients.
Degree   Return the polynomial degree, i.e. the index of its greatest non-null coefficient.

Métodos
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.