VCF_cabsminVCD_cabsminVCE_cabsmin
FunctionElement 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/Delphiuses VCFstd;
procedure VCF_cabsmin( var Min:fComplex; X:cfVector; size:UIntSize );
DescriptionThe 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.
Error handlingnone
Return valuesmallest element in terms of absolute value
See alsoVCF_absmin,   VCF_absminReIm,   VCF_sabsmin

VectorLib Table of Contents  OptiVec home