VF_accElementVD_accElementVE_accElement
VCF_accElementVCD_accElementVCE_accElement
VCF_accElementReVCD_accElementReVCE_accElementRe
VCF_accElementImVCD_accElementImVCE_accElementIm
VI_accElementVBI_accElementVSI_accElementVLI_accElementVQI_accElement 
VU_accElementVUB_accElementVUS_accElementVUL_accElementVUQ_accElementVUI_accElement
FunctionIncrement 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/Delphiuses 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/Delphiuses 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 );
DescriptionReal 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.

Error handlingnone
Return valuenone
See alsoVF_Pelement,   VF_element,   VF_getElement,   VF_setElement,   VF_decElement

VectorLib Table of Contents  OptiVec home