VF_Pelement | VD_Pelement | VE_Pelement |
VCF_Pelement | VCD_Pelement | VCE_Pelement |
VCF_elementRe | VCD_elementRe | VCE_elementRe |
VCF_elementIm | VCD_elementIm | VCE_elementIm |
VPF_element | VPD_element | VPE_element |
VPF_elementMag | VPD_elementMag | VPE_elementMag |
VPF_elementArg | VPD_elementArg | VPE_elementArg |
VI_Pelement | VBI_Pelement | VSI_Pelement | VLI_Pelement | VQI_Pelement | |
VU_Pelement | VUB_Pelement | VUS_Pelement | VUL_Pelement | VUQ_Pelement | VUI_Pelement |
Funktion | Zeiger auf ein Vektor-Element |
|
Syntax C/C++ | #include <VFstd.h>
(float *) VF_Pelement( fVector X, ui pos );
#include <VCFstd.h>
(fComplex *) VCF_Pelement( cfVector X, ui pos );
(float *) VCF_PelementRe( cfVector X, ui pos );
(float *) VCF_PelementIm( cfVector X, ui pos ); |
C++ VecObj | #include <OptiVec.h>
T * vector<T>::Pelement( ui pos );
complex<T> * vector<complex<T>>::Pelement( ui pos );
T * vector<complex<T>>::PelementRe( ui pos );
T * vector<complex<T>>::PelementIm( ui pos ); |
Pascal/Delphi | uses VFstd;
function VF_Pelement( X:fVector; pos:UIntSize ): PSingle;
uses VCFstd;
function VCF_Pelement( X:cfVector; pos:UIntSize ): PfComplex;
function VCF_PelementRe( X:cfVector; pos:UIntSize ): PSingle;
function VCF_PelementIm( X:cfVector; pos:UIntSize ): PSingle; |
|
CUDA-Funktion C/C++ | #include <cudaVFstd.h>
(float *) cudaVF_Pelement( fVector d_X, ui pos );
#include <cudaVCFstd.h>
(fComplex *) cudaVCF_Pelement( cfVector d_X, ui pos );
(float *) cudaVCF_PelementRe( cfVector d_X, ui pos );
(float *) cudaVCF_PelementIm( cfVector d_X, ui pos );
|
CUDA-Funktion Pascal/Delphi | uses VFstd;
function cudaVF_Pelement( d_X:fVector; pos:UIntSize ): PSingle;
uses VCFstd;
function cudaVCF_Pelement( d_X:cfVector; pos:UIntSize ): PfComplex;
function cudaVCF_PelementRe( d_X:cfVector; pos:UIntSize ): PSingle;
function cudaVCF_PelementIm( d_X:cfVector; pos:UIntSize ): PSingle;
|
|
Beschreibung | Reelle Versionen: geben Zeiger auf X[pos], also &( X[pos] ) = X+pos zurück.
Komplexe Version VCF_PelementRe: gibt den Zeiger auf X[pos].Re zurück.
Komplexe Version VCF_PelementIm: gibt den Zeiger auf X[pos].Im zurück.
|
|
|
Rückgabewert | C/C++: X+pos
Pascal/Delphi: @( X[pos] ) |
|
|
VectorLib Inhaltsverzeichnis OptiVec Home |