VF_runintegralC | VD_runintegralC | VE_runintegralC |
|
Function | "running integral" of an array sampled at equally-spaced abscissa points. |
|
Syntax C/C++ | #include <VFstd.h>
void VF_runintegralC( fVector Y, fVector X, ui size, float DeltaT ); |
C++ VecObj | #include <OptiVec.h>
void vector<T>::runintegralC( const vector<T>& X, T DeltaT ); |
Pascal/Delphi | uses VFstd;
procedure VF_runintegralC( Y, X:fVector; size:UIntSize; DeltaT:Single ); |
|
CUDA function C/C++ | #include <cudaVFstd.h>
int cudaVF_runintegralC( fVector d_Y, fVector d_X, ui size, float DeltaT );
int cusdVF_runintegralC( fVector d_Y, fVector d_X, ui size, float *d_DeltaT );
void VFcu_runintegralC( fVector h_Y, fVector h_X, ui size, float DeltaT );
|
CUDA function Pascal/Delphi | uses VFstd;
function cudaVF_runintegralC( d_Y, d_X:fVector; size:UIntSize; DeltaT:Single ): IntBool;
function cusdVF_runintegralC( d_Y, d_X:fVector; size:UIntSize; d_DeltaT:PSingle ): IntBool;
procedure VFcu_runintegralC( h_Y, h_X:fVector; size:UIntSize; DeltaT:Single );
|
|
Description | The vector X is assumed to be a function of a variable t; the t values themselves are equally spaced. Therefore, only their spacing, DeltaT, must be known to the function. Each element of Y is the integral of all elements of X up to and including the one with the same index. Thus, the last element of Y contains the value of the integral over the whole of X (the area under X). If only this value is of interest, VF_integralC should be used. |
|
|
|
|