- publishing free software manuals
GNU Scientific Library Reference Manual - Third Edition (v1.12)
by M. Galassi, J. Davies, J. Theiler, B. Gough, G. Jungman, P. Alken, M. Booth, F. Rossi
Paperback (6"x9"), 592 pages, 60 figures
ISBN 0954612078
RRP £24.95 ($39.95)

Get a printed copy>>>

6.1 Polynomial Evaluation

The functions described here evaluate the polynomial c[0] + c[1] x + c[2] x^2 + \dots + c[len-1] x^{len-1} using Horner's method for stability.

Function: double gsl_poly_eval (const double c[], const int len, const double x)
This function evaluates a polynomial with real coefficients for the real variable x.
Function: gsl_complex gsl_poly_complex_eval (const double c[], const int len, const gsl_complex z)
This function evaluates a polynomial with real coefficients for the complex variable z.
Function: gsl_complex gsl_complex_poly_complex_eval (const gsl_complex c[], const int len, const gsl_complex z)
This function evaluates a polynomial with complex coefficients for the complex variable z.
ISBN 0954612078GNU Scientific Library Reference Manual - Third Edition (v1.12)See the print edition