public PolynomialSampleGenerator(double coefficients,
Construct a PolynomialSampleGenerator. The input argument is
an array of doubles
a = a0 .. a[n-1] = an-1 used to compute
the formula :
h(t) = a0 + a1t + ... + an-1tn-1
The array of doubles must be of length 1 or greater.
The array of doubles is copied, so the user is free to modify
it after construction.
The exponents on t in the above equation will all be negated if
the direction parameter is -1; otherwise the direction parameter
should be 1.
coefficients - An array of double coefficients.
direction - 1 for positive exponents, -1 for negative
public final double operate(double time)
Return a sample of the line, sampled at the specified time.
Note that at time = 0, with a negative direction, the sample
will be positive or negative infinity.