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 );
CUDA function C/C++#include <cudaVFstd.h>
int cudaVF_comb( fVector d_X, ui size, ui spac, float C );
int cusdVF_comb( fVector d_X, ui size, ui spac, float *d_C );
void VFcu_comb( fVector h_X, ui size, ui spac, float C );
CUDA function Pascal/Delphiuses VFstd;
function cudaVF_comb( d_X:fVector; size:UIntSize; spac:Word; C:Single ): IntBool;
function cusdVF_comb( d_X:fVector; size:UIntSize; spac:Word; d_C:PSingle ): IntBool;
procedure VFcu_comb( h_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