differ
differ,
an Octave code which
determines the finite difference method (FDM) coefficients necessary 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 and
an Octave version and
a Python version.
Related Data and Programs:
differ_test
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 06 October 2022.