| VCF_divReC | VCD_divReC | VCE_divReC |
| VPF_divReC | VPD_divReC | VPE_divReC |
| VI_divC | VBI_divC | VSI_divC | VLI_divC | VQI_divC |
| VU_divC | VUB_divC | VUS_divC | VUL_divC | VUI_divC |
|
| Function | Divide by a constant |
|
| Syntax C/C++ | #include <VFmath.h>
void VF_divC( fVector Y, fVector X, ui size, float C );
void VCF_divC( cfVector Y, cfVector X, ui size, fComplex C );
void VCF_divReC( cfVector Y, cfVector X, ui size, float CRe ); |
| C++ VecObj | #include <OptiVec.h>
void vector<T>::divC( const vector<T>& X, const T& C );
void vector<complex<T>>::divC( const vector<complex<T>>& X, complex<T> C );
void vector<complex<T>>::divReC( const vector<complex<T>>& X, const T& CRe ); |
| Pascal/Delphi | uses VFmath;
procedure VF_divC( Y, X:fVector; size:UInt; C:Single );
procedure VCF_divC( Y, X:cfVector; size:UInt; C:fComplex );
procedure VCF_divReC( Y, X:cfVector; size:UInt; CRe:Single ); |
|
| Description | Yi = Xi / C
The integer versions perform an integer division, discarding the remainder; the remainder itself may be obtained by the functions of the VI_modC family.
The complex floating-point versions exist in two variants, one for complex constants C, the other for real-valued constants CRe by which the complex vector is divided. |
|
|
|
|