fd_coefs: Calculate finite difference coefficients at artificial...

Description Usage Arguments Value Examples

Description

Calculate finite difference coefficients at artificial stencil points

Usage

1
fd_coefs(order, stencil)

Arguments

order

order of derivative

stencil

locations of sampled points

Value

a numeric vector of finite difference coefficients corresponding to stencil points.

Examples

1
coefs <- fd_coefs(2, -3:3)

imlijunda/stencil1d documentation built on May 6, 2019, 12:09 p.m.