VF_integralCVD_integralCVE_integralC
FunctionIntegral of an array plotted over an equally-spaced abscissa.
Syntax C/C++#include <VFstd.h>
float VF_integralC( fVector X, ui size, float DeltaT );
C++ VecObj#include <OptiVec.h>
T vector<T>::integralC( T DeltaT );
Pascal/Delphiuses VFstd;
function VF_integralC( X:fVector; size:UIntSize; DeltaT:Single ): Single;
DescriptionThe vector X is assumed to be a function of a variable t; the t values themselves are equally spaced, so that only the spacing DeltaT is needed. The area under X, i.e. the integral of X over t from t0 to tsize-1 is calculated. If not only the value of the integral is of interest, but a point-by-point integration has to be performed, VF_runintegralC should be used.
Error handlingnone
Return valueThe value of the integral is returned.
See alsoVF_integralV,   VF_runintegralC,   VF_derivC

VectorLib Table of Contents  OptiVec home