|
| Function | Initializes 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/Delphi | uses VFstd;
procedure VF_comb( X:fVector; size:UIntSize; spac:Word; C:Single ); |
|
| Description | Xi = C, i = 0, 1*spac, 2*spac,...
Xi = 0, otherwise |
|
| Error handling | If the spacing spac of the comb exceeds size, an error message "Invalid parameter(s)" is displayed and the program aborted. |
|
|
|