VF_accElement | VD_accElement | VE_accElement |
VCF_accElement | VCD_accElement | VCE_accElement |
VCF_accElementRe | VCD_accElementRe | VCE_accElementRe |
VCF_accElementIm | VCD_accElementIm | VCE_accElementIm |
VI_accElement | VBI_accElement | VSI_accElement | VLI_accElement | VQI_accElement | |
VU_accElement | VUB_accElement | VUS_accElement | VUL_accElement | VUQ_accElement | VUI_accElement |
|
Function | Increment a single vector element by a given value |
|
Syntax C/C++ | #include <VFstd.h>
void VF_accElement( fVector X, ui pos, float C );
#include <VCFstd.h>
void VCF_accElement( cfVector X, ui pos, fComplex C );
void VCF_accElementRe( fVector X, ui pos, float C );
void VCF_accElementIm( fVector X, ui pos, float C ); |
C++ VecObj | #include <OptiVec.h>
vector<T>::accElement( ui pos, T C );
vector<complex<T>>::accElement( ui pos, complex<T> C );
vector<complex<T>>::accElementRe( ui pos, T C );
vector<complex<T>>::accElementIm( ui pos, T C ); |
Pascal/Delphi | uses VFstd;
procedure VF_accElement( X:fVector; pos:UIntSize; C:Single );
uses VCFstd;
procedure VCF_accElement( X:cfVector; pos:UIntSize; C:fComplex );
procedure VCF_accElementRe( X:cfVector; pos:UIntSize; C:Single );
procedure VCF_accElementIm( X:cfVector; pos:UIntSize; C:Single );
|
|
CUDA function C/C++ | #include <cudaVFstd.h>
void cudaVF_accElement( fVector d_X, ui pos, float C );
void cusdVF_accElement( fVector d_X, ui pos, float *d_C );
#include <cudaVCFstd.h>
void cudaVCF_accElement( cfVector d_X, ui pos, fComplex C );
void cusdVCF_accElement( cfVector d_X, ui pos, fComplex *d_C );
void cudaVCF_accElementRe( cfVector d_X, ui pos, float C );
void cusdVCF_accElementRe( cfVector d_X, ui pos, float *d_C );
void cudaVCF_accElementIm( cfVector d_X, ui pos, float C );
void cusdVCF_accElementIm( cfVector d_X, ui pos, float *d_C );
|
CUDA function Pascal/Delphi | uses VFstd;
procedure cudaVF_accElement( d_X:fVector; pos:UIntSize; C:Single );
procedure cusdVF_accElement( d_X:fVector; pos:UIntSize; d_C:PSingle );
uses VCFstd;
procedure cudaVCF_accElement( d_X:cfVector; pos:UIntSize; C:fComplex );
procedure cusdVCF_accElement( d_X:cfVector; pos:UIntSize; d_C:PfComplex );
procedure cudaVCF_accElementRe( d_X:cfVector; pos:UIntSize; C:Single );
procedure cusdVCF_accElementRe( d_X:cfVector; pos:UIntSize; d_C:PSingle );
procedure cudaVCF_accElementIm( d_X:cfVector; pos:UIntSize; C:Single );
procedure cusdVCF_accElementIm( d_X:cfVector; pos:UIntSize; d_C:PSingle );
|
|
Description | Real versions:
X[i] += C; The element at the position pos is incremented by the value C.
Complex versions VCF_accElement etc.:
X[i].Re += C.Re; X[i].Im += C.Im;
Complex versions VCF_accElementRe etc.:
X[i].Re += C.Re;
The imaginary part X[i].Im is left unaffected.
Complex versions VCF_accElementIm etc.:
X[i].Im += C.Im;
The real part X[i].Re is left unaffected.
|
|
|
|
|