Difference between revisions of "Fdvec.m"
(Update function See also links and function index membership) |
|||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{DISPLAYTITLE: | + | {{DISPLAYTITLE:fdvec.m}} __NOTOC__ |
| − | + | Performs arbitrary-order finite-difference differentiation of a user-supplied row or column vector. Uses central finite-difference stencils in the middle and sided stencils of the same order of accuracy on the sides. | |
==Syntax== | ==Syntax== | ||
| − | + | dx=fdvec(x,npoints,order) | |
| − | == | + | ==Parameters== |
| − | + | x - column or row vector to be differentiated | |
| − | + | ||
| − | + | npoints - number of points in the finite difference | |
| − | + | stencil | |
| + | |||
| + | order - order of the derivative required | ||
==Outputs== | ==Outputs== | ||
| − | + | dx - column or row vector with the derivative | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==See also== | ==See also== | ||
| − | + | [[fdmat.m]], [[fdlap.m]], [[fdhess.m]], [[fdkup.m]], [[fdweights.m]], [[fftdiff.m]], [[fourdif.m]], [[fourlap.m]], [[cgsppm2ang.m]], [[corrfun.m]], [[fpl2phan.m]], [[fpl2rho.m]], [[hydrodynamics.m]], [[interpmat.m]], [[oscillator.m]], [[overwound.m]], [[phan2fpl.m]], [[points2mult.m]], [[qform2sph.m]], [[qxspen_kernel.m]], [[spden.m]], [[Hyperfine_shift_module]], [[Kernel_utilities]] | |
| − | |||
| − | ''Version 2.2, authors: [[ | + | ''Version 2.2, authors: [[Ilya Kuprov]]'' |
Latest revision as of 19:36, 6 June 2026
Performs arbitrary-order finite-difference differentiation of a user-supplied row or column vector. Uses central finite-difference stencils in the middle and sided stencils of the same order of accuracy on the sides.
Syntax
dx=fdvec(x,npoints,order)
Parameters
x - column or row vector to be differentiated
npoints - number of points in the finite difference
stencil
order - order of the derivative required
Outputs
dx - column or row vector with the derivative
See also
fdmat.m, fdlap.m, fdhess.m, fdkup.m, fdweights.m, fftdiff.m, fourdif.m, fourlap.m, cgsppm2ang.m, corrfun.m, fpl2phan.m, fpl2rho.m, hydrodynamics.m, interpmat.m, oscillator.m, overwound.m, phan2fpl.m, points2mult.m, qform2sph.m, qxspen_kernel.m, spden.m, Hyperfine_shift_module, Kernel_utilities
Version 2.2, authors: Ilya Kuprov