Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

polclr

Clear Polynomial

SYNOPSIS:

int na;
double a[na];
polclr( a, na );


DESCRIPTION:

Set all coefficients of polynomial a to zero, up to a[na].

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  .