FunctionFind 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>
complex<T> vector<complex<T>>::minReIm();
Pascal/Delphiuses VCFstd;
procedure VCF_minReIm( var Min:fComplex; X:cfVector; size:UIntSize );
DescriptionThe 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.
Error handlingnone
Return valueC/C++:
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.
See alsoVCF_maxReIm,   VCF_absminReIm,   VCF_absmin,   VCF_absminind

VectorLib Table of Contents  OptiVec home