VF_derivC | VD_derivC | VE_derivC |
|
Function | Derivative 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/Delphi | uses VFstd;
procedure VF_derivC( Y, X:fVector; size:UIntSize; DeltaT:Single ); |
|
CUDA function C/C++ | #include <cudaVFstd.h>
int cudaVF_derivC( fVector d_Y, fVector d_X, ui size, float DeltaT );
int cusdVF_derivC( fVector d_Y, fVector d_X, ui size, float *d_DeltaT );
void VFcu_derivC( fVector h_Y, fVector h_X, ui size, float DeltaT );
|
CUDA function Pascal/Delphi | uses VFstd;
function cudaVF_derivC( d_Y, d_X:fVector; size:UIntSize; DeltaT:Single ): IntBool;
function cusdVF_derivC( d_Y, d_X:fVector; size:UIntSize; d_DeltaT:PSingle ): IntBool;
procedure VFcu_derivC( h_Y, h_X:fVector; size:UIntSize; DeltaT:Single );
|
|
Description | Y(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. |
|
|
|
|