VCF_subReC | VCD_subReC | VCE_subReC |
VI_subC | VBI_subC | VSI_subC | VLI_subC | VQI_subC | |
VU_subC | VUB_subC | VUS_subC | VUL_subC | VUQ_subC | VUI_subC |
|
Funktion | Konstante subtrahieren |
|
Syntax C/C++ | #include <VFmath.h>
void VF_subC( fVector Y, fVector X, ui size, float C );
void VCF_subC( cfVector Y, cfVector X, ui size, fComplex C );
void VCF_subReC( cfVector Y, cfVector X, ui size, float CRe ); |
C++ VecObj | #include <OptiVec.h>
void vector<T>::subC( const vector<T>& X, const T& C );
void vector<complex<T>>::subC( const vector<complex<T>>& X, complex<T> C );
void vector<complex<T>>::subReC( const vector<complex<T>>& X, const T& CRe ); |
Pascal/Delphi | uses VFmath;
procedure VF_subC( Y, X:fVector; size:UIntSize; C:Single );
procedure VCF_subC( Y, X:cfVector; size:UIntSize; C:fComplex );
procedure VCF_subReC( Y, X:cfVector; size:UIntSize; CRe:Single ); |
|
CUDA-Funktion C/C++ | #include <cudaVFmath.h>
int cudaVF_subC( fVector d_Y, fVector d_X, ui size, float C );
int cusdVF_subC( fVector d_Y, fVector d_X, ui size, float *d_C );
void VFcu_subC( fVector d_Y, fVector d_X, ui size, float C );
#include <cudaVCFmath.h>
int cudaVCF_subReC( cfVector d_Y, cfVector d_X, ui size, float CRe );
int cusdVCF_subReC( cfVector d_Y, cfVector d_X, ui size, float *d_CRe );
void VCFcu_subReC( cfVector h_Y, cfVector h_X, ui size, float CRe );
|
CUDA-Funktion Pascal/Delphi | uses VFmath, VCFmath;
function cudaVF_subC( d_Y, d_X:fVector; size:UIntSize; C:Single ): IntBool;
function cusdVF_subC( d_Y, d_X:fVector; size:UIntSize; d_C:PSingle ): IntBool;
procedure VFcu_subC( h_Y, h_X:fVector; size:UIntSize; C:Single );
function cudaVCF_subReC( d_Y, d_X:cfVector; size:UIntSize; CRe:Single );
function cusdVCF_subReC( d_Y, d_X:cfVector; size:UIntSize; d_CRe:PSingle );
procedure VCFcu_subReC( h_Y, h_X:cfVector; size:UIntSize; CRe:Single );
|
|
Beschreibung | Yi = Xi - C
Die komplexen Versionen existieren in zwei Varianten: eine für komplexe Konstanten C, die andere für reelle Konstanten CRe, die von dem komplexen Vektor abgezogen werden. |
|
Fehlerbehandlung | Fließkomma-Versionen: keine;
Ganzzahl-Versionen: siehe Kap. 5.2. |
|
|
|