differ
differ,
a MATLAB code which
determines the finite difference coefficients necessary in order to
combine function values at known locations to compute an approximation
of given accuracy to a derivative of a given order.
Licensing:
The computer code and data files made available on this
web page are distributed under
the MIT license
Languages:
differ is available in
a C version and
a C++ version and
a FORTRAN90 version and
a MATLAB version.
Related Data and Programs:
differ_test
divdif,
a MATLAB code which
uses divided differences to compute the polynomial interpolant
to a given set of data.
Reference:

Ake Bjorck, Victor Pereyra,
Solution of Vandermonde Systems of Equations,
Mathematics of Computation,
Volume 24, Number 112, October 1970, pages 893903.
Source Code:

differ_backward.m,
backward difference derivative approximation coefficients.

differ_central.m,
central difference derivative approximation coefficients.

differ_forward.m,
forward difference derivative approximation coefficients.

differ_inverse.m,
computes the inverse of the stencil matrix.

differ_matrix.m,
computes the stencil matrix from the stencil vector.

differ_solve.m,
solves for finite difference coefficients.

differ_stencil.m,
finite difference derivative approximation coefficients
for arbitrarily spaced data.

inverse_error.m,
reports the error in a matrix inverse.

r8mat_print.m,
prints an R8MAT;

r8mat_print_some.m,
prints some of an R8MAT;

r8vec_print.m,
prints an R8VEC;

r8vec2_print.m,
prints a pair of R8VEC's;

vand1.m,
returns the VAND1 matrix.
Last revised on 05 January 2019.