| VCF_cabsmin | VCD_cabsmin | VCE_cabsmin |
|
| Function | Element of smallest absolute value within one vector |
|
| Syntax C/C++ | #include <VCFstd.h>
fComplex VCF_cabsmin( cfVector X, ui size); |
| C++ VecObj | #include <OptiVec.h>
T vector<complex<T>>::cabsmin(); |
| Pascal/Delphi | uses VCFstd;
procedure VCF_cabsmin( var Min:fComplex; X:cfVector; size:UIntSize );
|
|
| Description | The absolute values of all elements of a cartesian-complex vector are compared and the element with the smallest absolute value is returned. A variant of this function, finding the smallest element in terms of the sum |Re| + |Im|, is offered by VCF_sabsmin. The latter function is much faster than VCF_cabsmin. |
|
|
| Return value | smallest element in terms of absolute value |
|
|