VF_combVD_combVE_comb
FunctionInitializes a vector with a comb function.
Syntax C/C++#include <VFstd.h>
void VF_comb( fVector X, ui size, ui spac, float C );
C++ VecObj#include <OptiVec.h>
void vector<T>::comb( ui spac, const T& C );
Pascal/Delphiuses VFstd;
procedure VF_comb( X:fVector; size:UIntSize; spac:Word; C:Single );
DescriptionXi = C, i = 0, 1*spac, 2*spac,...
Xi = 0, otherwise
Error handlingIf the spacing spac of the comb exceeds size, an error message "Invalid parameter(s)" is displayed and the program aborted.
Return valuenone
See alsoVF_equ1,   VF_equ0,   VF_equC

VectorLib Table of Contents  OptiVec home