VF_subrCVD_subrCVE_subrC
VCF_subrCVCD_subrCVCE_subrC
VCF_subrReCVCD_subrReCVCE_subrReC
VI_subrCVBI_subrCVSI_subrCVLI_subrCVQI_subrC 
VU_subrCVUB_subrCVUS_subrCVUL_subrCVUQ_subrCVUI_subrC
FunctionReverse subtraction: subtract a vector from a constant
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/Delphiuses 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 function 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 function Pascal/Delphiuses 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 );
DescriptionYi = C - Xi
The complex floating-point versions exist in two variants, one for complex constants C, the other for real-valued constants CRe from which the complex vector is subtracted.
Error handlingfloating-point versions: none;
integer versions: see chapter 5.2.
Return valuenone
See alsoVF_addV,   VF_subC,   VF_mulC,   VF_divC,   VF_visC,   VF_redC

VectorLib Table of Contents  OptiVec home