The OpenD Programming Language

poly.poly

template poly(uint derivative = 0)
typeof(F.init * X.init * 1f + F.init)
poly
(
X
F
)
(
in X x
,
scope const F[] coefficients...
)

Parameters

x X

value to evaluate

coefficients F[]

coefficients of polynomial

Meta