eval_pols: Evaluate polynomials.

Description Usage Arguments Value

Description

The polynomials are evaluated at given points using the Horner scheme.

Usage

1
eval_pols(poly_coefs, x)

Arguments

poly_coefs

a matrix of polynomial coefficients in ascending order, each column corresponds to a polynomial. (num mat)

x

a vector of position where the polynomials are evaluated at. (num vec)

Value

a matrix, each row and column corresponds to a point in x and a polynomial respectively.


weiyaw/blackbox documentation built on June 7, 2019, 5:12 a.m.