Function"running" product
Syntax C/C++#include <VFstd.h>
void VF_runprod( fVector Y, fVector X, ui size );
C++ VecObj#include <OptiVec.h>
void vector<T>::runprod( const vector<T>& X );
Pascal/Delphiuses VFstd;
procedure VF_runprod( Y, X:fVector; size:UIntSize );
DescriptionEach element of Y is the product of the corresponding and all preceding elements of X. This function should be used with care: overflow is easily reached, and underflow may lead to all elements from a certain position on being zero.
Error handlingnone
Return valuenone
See alsoVF_prod,   VF_runsum

VectorLib Table of Contents  OptiVec home