VF_delete | VD_delete | VE_delete |
VCF_delete | VCD_delete | VCE_delete |
VPF_delete | VPD_delete | VPE_delete |
VI_delete | VBI_delete | VSI_delete | VLI_delete | VQI_delete | |
VU_delete | VUB_delete | VUS_delete | VUL_delete | VUQ_delete | VUI_delete |
|
Function | Delete one element from a vector |
|
Syntax C/C++ | #include <VFstd.h>
void VF_delete( fVector X, ui size, ui pos ); |
C++ VecObj | #include <OptiVec.h>
void vector<T>::delete( ui pos ); |
Pascal/Delphi | uses VFstd;
procedure VF_delete( X:fVector; size, pos:UIntSize ); |
|
CUDA function C/C++ | #include <cudaVFstd.h>
int cudaVF_delete( fVector d_X, ui size, ui pos );
void VFcu_delete( fVector h_X, ui size, ui pos );
|
CUDA function Pascal/Delphi | uses VFstd;
function cudaVF_delete( d_X:fVector; size, pos:UIntSize ): IntBool;
procedure VFcu_delete( h_X:fVector; size, pos:UIntSize );
|
|
Description | This is one of the few functions where the input vector itself is changed, instead of being mapped onto an output vector. The element numbered pos is deleted from the vector, and all the following elements are shifted one position lower; the last element is left undefined. |
|
|
|
|