VCF_subrC | VCD_subrC | VCE_subrC |
VCF_subrReC | VCD_subrReC | VCE_subrReC |
VI_subrC | VBI_subrC | VSI_subrC | VLI_subrC | VQI_subrC | |
VU_subrC | VUB_subrC | VUS_subrC | VUL_subrC | VUQ_subrC | VUI_subrC |
|
Funktion | umgekehrte Subtraktion: Vektor von einer Konstanten abziehen |
|
Syntax C/C++ | #include <VFmath.h>
void VF_subrC( fVector Y, fVector X, ui size, float C );
void VCF_subrC( cfVector Y, cfVector X, ui size, fComplex C );
void VCF_subrReC( cfVector Y, cfVector X, ui size, float CRe ); |
C++ VecObj | #include <OptiVec.h>
void vector<T>::subrC( const vector<T>& X, const T& C );
void vector<complex<T>>::subrC( const vector<complex<T>>& X, complex<T> C );
void vector<complex<T>>::subrReC( const vector<complex<T>>& X, const T& CRe ); |
Pascal/Delphi | uses VFmath;
procedure VF_subrC( Y, X:fVector; size:UIntSize; C:Single );
procedure VCF_subrC( Y, X:cfVector; size:UIntSize; C:fComplex );
procedure VCF_subrReC( Y, X:cfVector; size:UIntSize; CRe:Single ); |
|
CUDA-Funktion C/C++ | #include <cudaVFmath.h>
int cudaVF_subrC( fVector d_Y, fVector d_X, ui size, float C );
int cusdVF_subrC( fVector d_Y, fVector d_X, ui size, float *d_C );
void VFcu_subrC( fVector d_Y, fVector d_X, ui size, float C );
#include <cudaVCFmath.h>
int cudaVCF_subrReC( cfVector d_Y, cfVector d_X, ui size, float CRe );
int cusdVCF_subrReC( cfVector d_Y, cfVector d_X, ui size, float *d_CRe );
void VCFcu_subrReC( cfVector h_Y, cfVector h_X, ui size, float CRe );
|
CUDA-Funktion Pascal/Delphi | uses VFmath, VCFmath;
function cudaVF_subrC( d_Y, d_X:fVector; size:UIntSize; C:Single ): IntBool;
function cusdVF_subrC( d_Y, d_X:fVector; size:UIntSize; d_C:PSingle ): IntBool;
procedure VFcu_subrC( h_Y, h_X:fVector; size:UIntSize; C:Single );
function cudaVCF_subrReC( d_Y, d_X:cfVector; size:UIntSize; CRe:Single );
function cusdVCF_subrReC( d_Y, d_X:cfVector; size:UIntSize; d_CRe:PSingle );
procedure VCFcu_subrReC( h_Y, h_X:cfVector; size:UIntSize; CRe:Single );
|
|
Beschreibung | Yi = C - Xi
Die komplexen Versionen existieren in zwei Varianten: eine für komplexe Konstanten C, die andere für reelle Konstanten CRe, von denen die komplexen Vektorelemente abgezogen werden. |
|
Fehlerbehandlung | Fließkomma-Versionen: keine;
Ganzzahl-Versionen: siehe Kap. 5.2. |
|
|
|