VF_decElement | VD_decElement | VE_decElement |
VCF_decElement | VCD_decElement | VCE_decElement |
VCF_decElementRe | VCD_decElementRe | VCE_decElementRe |
VCF_decElementIm | VCD_decElementIm | VCE_decElementIm |
VI_decElement | VBI_decElement | VSI_decElement | VLI_decElement | VQI_decElement | |
VU_decElement | VUB_decElement | VUS_decElement | VUL_decElement | VUQ_decElement | VUI_decElement |
|
Function | Decrement 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/Delphi | uses 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/Delphi | uses 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 );
|
|
Description | Real 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.
|
|
|
|
|