| Syntax C/C++ | #include <VFmath.h>
void VF_subrV( fVector Z, fVector X, fVector Y, ui size );
void VFx_subrV( fVector Z, fVector X, fVector Y, ui size, float A, float B );
void VCF_subrV( cfVector Z, cfVector X, cfVector Y, ui size );
void VCF_subrReV( cfVector Z, cfVector X, fVector Y, ui size );
void VCFx_subrV( cfVector Z, cfVector X, cfVector Y, ui size, fComplex A, fComplex B );
void VCFx_subrReV( cfVector Z, cfVector X, fVector Y, ui size, fComplex A, fComplex B ); |
| C++ VecObj | #include <OptiVec.h>
void vector<T>::subrV( const vector<T>& X, const vector<T>& Y );
void vector<T>::x_subrV( const vector<T>& X, const vector<T>& Y, const T& A, const T& B );
void vector<complex<T>>::subrV( const vector<complex<T>>& X, const vector<complex<T>>& Y );
void vector<complex<T>>::subrReV( const vector<complex<T>>& X, const vector<T>& Y );
void vector<complex<T>>::x_subrV( const vector<complex<T>>& X, const vector<complex<T>>& Y, complex<T> A, complex<T> B );
void vector<complex<T>>::x_subrReV( const vector<complex<T>>& X, const vector<T>& Y, complex<T> A, complex<T> B ); |
| Pascal/Delphi | uses VFmath;
procedure VF_subrV( Z, X, Y:fVector; size:UInt );
procedure VFx_subrV( Z, X, Y:fVector; size:UInt; A, B:Single);
procedure VCF_subrV( Z, X, Y:cfVector; size:UInt );
procedure VCF_subrReV( Z, X:cfVector; Y:fVector; size:UInt );
procedure VCFx_subrV( Z, X, Y:cfVector; size:UInt; A, B:fComplex );
procedure VCFx_subrReV( Z, X:cfVector; Y:fVector; size:UInt; A, B:fComplex ); |
|
| Description | normal versions: Zi = Yi - Xi
expanded versions: Zi = Yi - (A*Xi+B)
The complex floating-point versions exist in two variants: in the first variant (e.g., VCF_subrV, VCFx_subrV), X, Y, and Z are all complex; in the second variant, Y is real-valued (e.g., VCF_subrReV - "reverse subtraction of a real vector", i.e., subtraction of a complex vector from a real vector). |
|