Réserver une Démo

SVP notez : Cette page d’aide n’est pas pour la dernière version d’Enterprise Architect. La dernière aide peut être trouvée ici.

Pré. Proc.

poleva

Polynomial Evaluation

SYNOPSIS:

int na;
double sum, x;
double a[na];

sum = poleva( a, na, x );


DESCRIPTION:

Evaluate polynomial a(t) at t = x.

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  .