VF_runsumVD_runsumVE_runsum
VCF_runsumVCD_runsumVCE_runsum
VI_runsumVBI_runsumVSI_runsumVLI_runsumVQI_runsum
VU_runsumVUB_runsumVUS_runsumVUL_runsumVUI_runsum
Function"running" sum
Syntax C/C++#include <VFstd.h>
void VF_runsum( fVector Y, fVector X, ui size );
C++ VecObj#include <OptiVec.h>
void vector<T>::runsum( const vector<T>& X );
Pascal/Delphiuses VFstd;
procedure VF_runsum( Y, X:fVector; size:UIntSize );
DescriptionEach element of Y is the sum of the corresponding and all preceding elements of X.
Error handlingnone (but be careful: this function may easily overflow!)
Return valuenone
See alsoVF_sum,   VF_runprod

VectorLib Table of Contents  OptiVec home