Skip to content

math.PolyReal.Function.evaluateReal

Christian d'Heureuse edited this page Jun 6, 2026 · 2 revisions

dsp-collection / math/PolyReal / evaluateReal

Function: evaluateReal()

function evaluateReal(a, x): number;

Evaluates a real polynomial with a real argument.

Parameters

a

ArrayLike<number>

The coefficients of the polynomial, ordered in ascending powers.

x

number

The x value for which the polynomial is to be evaluated.

Returns

number

The value of the polynomial.

Clone this wiki locally