FunctionDerivative of an array with respect to an independent variable sampled at constant intervals
Syntax C/C++#include <VFstd.h>
void VF_derivC( fVector Y, fVector X, ui size, float DeltaT );
C++ VecObj#include <OptiVec.h>
void vector<T>::derivC( const vector<T>& X, T DeltaT );
Pascal/Delphiuses VFstd;
procedure VF_derivC( Y, X:fVector; size:UIntSize; DeltaT:Single );
DescriptionY(t) = dX(t) / dt.
The vector X is assumed to be a function of a variable t; the t values themselves are equally spaced. Therefore, only the spacing, DeltaT, must be passed to the function. By parabolic interpolation, the derivative of X with respect to t is calculated. This function does the inverse of the integration by VF_runintegralC.
Error handlingnone
Return valuenone
See alsoVF_derivV,   VF_runintegralC

VectorLib Table of Contents  OptiVec home