VF_decElementVD_decElementVE_decElement
VCF_decElementVCD_decElementVCE_decElement
VCF_decElementReVCD_decElementReVCE_decElementRe
VCF_decElementImVCD_decElementImVCE_decElementIm
VI_decElementVBI_decElementVSI_decElementVLI_decElementVQI_decElement 
VU_decElementVUB_decElementVUS_decElementVUL_decElementVUQ_decElementVUI_decElement
FunctionDecrement a single vector element by a given value
Syntax C/C++#include <VFstd.h>
void VF_decElement( fVector X, ui pos, float C );
#include <VCFstd.h>
void VCF_decElement( cfVector X, ui pos, fComplex C );
void VCF_decElementRe( fVector X, ui pos, float C );
void VCF_decElementIm( fVector X, ui pos, float C );
C++ VecObj#include <OptiVec.h>
vector<T>::decElement( ui pos, T C );
vector<complex<T>>::decElement( ui pos, complex<T> C );
vector<complex<T>>::decElementRe( ui pos, T C );
vector<complex<T>>::decElementIm( ui pos, T C );
Pascal/Delphiuses VFstd;
procedure VF_decElement( X:fVector; pos:UIntSize; C:Single );
uses VCFstd;
procedure VCF_decElement( X:cfVector; pos:UIntSize; C:fComplex );
procedure VCF_decElementRe( X:cfVector; pos:UIntSize; C:Single );
procedure VCF_decElementIm( X:cfVector; pos:UIntSize; C:Single );
CUDA function C/C++#include <cudaVFstd.h>
void cudaVF_decElement( fVector d_X, ui pos, float C );
void cusdVF_decElement( fVector d_X, ui pos, float *d_C );
#include <cudaVCFstd.h>
void cudaVCF_decElement( cfVector d_X, ui pos, fComplex C );
void cusdVCF_decElement( cfVector d_X, ui pos, fComplex *d_C );
void cudaVCF_decElementRe( cfVector d_X, ui pos, float C );
void cusdVCF_decElementRe( cfVector d_X, ui pos, float *d_C );
void cudaVCF_decElementIm( cfVector d_X, ui pos, float C );
void cusdVCF_decElementIm( cfVector d_X, ui pos, float *d_C );
CUDA function Pascal/Delphiuses VFstd;
procedure cudaVF_decElement( d_X:fVector; pos:UIntSize; C:Single );
procedure cusdVF_decElement( d_X:fVector; pos:UIntSize; d_C:PSingle );
uses VCFstd;
procedure cudaVCF_decElement( d_X:cfVector; pos:UIntSize; C:fComplex );
procedure cusdVCF_decElement( d_X:cfVector; pos:UIntSize; d_C:PfComplex );
procedure cudaVCF_decElementRe( d_X:cfVector; pos:UIntSize; C:Single );
procedure cusdVCF_decElementRe( d_X:cfVector; pos:UIntSize; d_C:PSingle );
procedure cudaVCF_decElementIm( d_X:cfVector; pos:UIntSize; C:Single );
procedure cusdVCF_decElementIm( d_X:cfVector; pos:UIntSize; d_C:PSingle );
DescriptionReal versions:
X[i] -= C;
The element at the position pos is decremented by the value C.

Complex versions VCF_decElement etc.:
X[i].Re -= C.Re; X[i].Im -= C.Im;

Complex versions VCF_decElementRe etc.:
X[i].Re -= C.Re;
The imaginary part X[i].Im is left unaffected.

Complex versions VCF_decElementIm 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_accElement

VectorLib Table of Contents  OptiVec home