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 |
|
Funktion | Ein Vektor-Element um einen bestimmten Wert erhöhen |
|
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-Funktion 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-Funktion 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 );
|
|
Beschreibung | Reelle Versionen:
X[i] += C; Das Element an der Position pos wird um den Wert C erhöht.
Komplexe Versionen VCF_accElement usw.:
X[i].Re += C.Re; X[i].Im += C.Im;
Komplexe Versionen VCF_accElementRe usw.:
X[i].Re += C.Re;
Der Imaginärteil X[i].Im bleibt unangetastet.
Komplexe Versionen VCF_accElementIm usw.:
X[i].Im += C.Im;
Der Realteil X[i].Re bleibt unangetastet.
|
|
|
|
|