VF_integralVVD_integralVVE_integralV
FunctionIntegral
Syntax C/C++#include <VFstd.h>
float VF_integralV( fVector X, fVector Y, ui size );
C++ VecObj#include <OptiVec.h>
T vector<T>::integralV( const vector<T>& X );
Pascal/Delphiuses VFstd;
function VF_integralV( X, Y:fVector; size:UIntSize ): Single;
CUDA function C/C++#include <cudaVFstd.h>
int cudaVF_integralV( float *h_RetVal, fVector X, fVector Y, ui size );
int cusdVF_integralV( float *d_RetVal, fVector X, fVector Y, ui size );
float VFcu_integralV( fVector h_X, fVector h_Y, ui size );
CUDA function Pascal/Delphiuses VFstd;
function cudaVF_integralV( var h_RetVal:Single; d_X, d_Y:fVector; size:UIntSize ): IntBool;
function cusdVF_integralV( d_RetVal:PSingle; d_X, d_Y:fVector; size:UIntSize ): IntBool;
function VFcu_integralV( h_X, h_Y:fVector; size:UIntSize ): Single;
DescriptionThe vector Y is assumed to be a function of X; the integral of Y over X is calculated. If the elements of X are regularly spaced with a constant difference between them, the integral is obtained more efficiently by VF_integralC. If not only the value of the integral is of interest, but a point-by-point integration has to be performed, VF_runintegralV may be used.
Error handlingnone
Return valueThe value of the integral is returned.
See alsoVF_integralC,   VF_runintegralV,   VF_derivV

VectorLib Table of Contents  OptiVec home