lserieseval: Evaluate a Legendre series at a specified set of points

Description Usage Arguments Details

View source: R/legendreseries.R

Description

Given the series coefficients, evaluate the Legendre series at the specified points.

Usage

1
lserieseval(x, lc, interval)

Arguments

x

The values at which to evaluate the series

lc

The coefficients of the Legendre polynomials in the series, starting with P_0 and counting upward. Any omitted coefficients are filled in with zeros.

interval

Boundaries of the x interval (see details)

Details

The Legendre polynomials are defined on the interval [-1,1]. A function defined on a different (finite) interval can be rescaled to work with the Legendre polynomials using the interval parameter. If the interval is omitted, it is assumed to be [-1,1]


rplzzz/perfsmooth documentation built on Dec. 22, 2021, 7:14 p.m.