VF_runintegralCVD_runintegralCVE_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/Delphiuses VFstd;
procedure VF_runintegralC( Y, X:fVector; size:UIntSize; DeltaT:Single );
DescriptionThe 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.
Error handlingnone
Return valuenone
See alsoVF_runintegralV,   VF_integralC,   VF_derivC,   VF_runsum

VectorLib Table of Contents  OptiVec home