diffn: Finite differences

diffnR Documentation

Finite differences

Description

Calculate dy/dx where x,y are first and the rest of columns in the entry matrix 'm'

Usage

diffn(m, ndiff = 1L)

Arguments

m

2- or more-column numeric matrix

ndiff

Integer scalar, order of finite difference (1 by default)

Value

Numeric matrix, first column is midpoints of x, the second and following are dy/dx


bspline documentation built on April 4, 2025, 4:54 a.m.

Related to diffn in bspline...