Polynomial class

This class represents a polynomial of degree n.

R. Brown, 1/2011





CLASS Poly

Superclass Mvector

No variables.

Methods:

float operator()
Substitution operator

Arguments:

float x
Value at which to evaluate the polynomial

State change:
None

Return value:
The value arr[0] + arr[1]*x + arr[2]*x2 + ... + arr[len-1]*xlen-1 .