预订演示
前页 后页

polmov

Move Polynomial

SYNOPSIS:

int na;
double a[na], b[na];
polmov( a, na, b );


DESCRIPTION:

Set b = a.  Copies coefficients of polynomial a, to b.

The polynomial is represented by an array containing its coefficients, together with a separately declared integer equal to the degree of the polynomial. 
The coefficients appear in ascending order; that is,

                                        2                      na
a(x)  =  a[0]  +  a[1] * x  +  a[2] * x   +  ...  +  a[na] * x  .