tlpoly(timeslab)R Documentation

Evaluate a Polynomial at a Vector of Points

Description

Evaluate a Polynomial at a Vector of Points

Usage

tlpoly(coeffs,x)

Arguments

coeffs Array of length $p+1$ containing the coefficients of the polynomial of degree $p$, ({coeffs}(i) is the coefficient of power $i-1$).
x Array containing the points at which to evaluate the polynomial.

Value

tlpoly returns an array containing the values of the polynomial.


[Package Contents]