Polynomial (gb.gsl)

This class implements a polynomial with real or complex coefficients.

Esta classe é criável.

Esta classe pode ser usada como função.

Esta classe funciona como um array ler / escrever.

Propriedades
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.