[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
poly()                   Generate a Polynomial from Arguments

 #include   <math.h>

 double     poly(x,n,c);
 double     x;
 int        n;
 double     c[];

    poly() generates a polynomial in 'x', of degree 'n', with
    coefficients c[0], c[1],...,c[n].  For example, if n = 4, the
    generated polynomial is

            c[4]x4 + c[3]x3 + c[2]x2 + c[1]x + c[0]

    Returns:    The value of the polynomial as evaluated for 'x'.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson