|Function||Find the smallest (or most negative) real and imaginary parts occurring in a vector.|
|Syntax C/C++||#include <VCFstd.h>
fComplex VCF_minReIm( cfVector X, ui size );
|C++ VecObj||#include <OptiVec.h>
procedure VCF_minReIm( var Min:fComplex; X:cfVector; size:UIntSize );
|Description||The vector X is separately searched for its smallest real and imaginary parts. These are packed together and either returned as an fComplex (in C/C++) or stored in Min (in Pascal/Delphi):
Min.Re: smallest real part encountered,
Min.Im: smallest imaginary part encountered.
struct or class instance of type fComplex (dComplex, eComplex, resp.), in which the minima of the real and imaginary parts of X are packed together.
since Pascal does not allow complex return values, the result is stored in the variable Min.
VectorLib Table of Contents OptiVec home