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;
CUDA function C/C++#include <cudaVFstd.h>
int cudaVF_integralC( float *h_RetVal, fVector X, ui size, float C );
int cusdVF_integralC( float *d_RetVal, fVector X, ui size, float *d_C );
float VFcu_integralC( fVector X, ui size, float C );
CUDA function Pascal/Delphiuses VFstd;
function cudaVF_integralC( var h_RetVal:Single; d_X:fVector; size:UIntSize; C:Single ): IntBool;
function cusdVF_integralC( d_RetVal:PSingle; d_X:fVector; size:UIntSize; d_C:PSingle ): IntBool;
function VFcu_integralC( h_X:fVector; size:UIntSize; C: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