FunctionSeparate determination of the smallest absolute values of the real and imaginary parts occurring in a cartesian complex vector.
Syntax C/C++#include <VCFstd.h>
fComplex VCF_absminReIm( cfVector X, ui size );

    (similarly VCD_,   VCE_)
C++ VecObj#include <OptiVec.h>
complex<T> vector<complex<T>>::absminReIm();
Pascal/Delphiuses VCFstd;
function VCF_absminReIm( X:cfVector; size:UIntSize ):fComplex;

Alternative syntax (obsolete, but still supported):
procedure VCF_absminReIm( var Min:fComplex; X:cfVector; size:UIntSize );

    (similarly VCD_,   VCE_)
CUDA function C/C++#include <cudaVCFstd.h>
int cudaVCF_absminReIm( fComplex *h_RetVal, cfVector d_X, ui size );
int cusdVCF_absminReIm( fComplex *d_RetVal, cfVector d_X, ui size );
fComplex VCFcu_absminReIm( cfVector h_X, ui size );
CUDA function Pascal/Delphiuses VCFstd;
function cudaVCF_absminReIm( var h_RetVal:fComplex; d_X:cfVector; size:UIntSize ): IntBool;
function cusdVCF_absminReIm( d_RetVal:PfComplex; d_X:cfVector; size:UIntSize ): IntBool;
function VCFcu_absminReIm( h_X:cfVector; size:UIntSize ):fComplex;
DescriptionThe absolute values of the real parts of all vector elements are compared with each other and the smallest one is returned as the real part of the result. Similarly, the absolute values of all the imaginary parts are compared with each other and the smallest one is returned as the imaginary part of the result. Generally, the result is made up from different elements of the vector.
Error handlingnone
Return valueSmallest absolute real and imaginary parts, combined into one complex number.
See alsoVCF_minReIm,   VCF_absmaxReIm

VectorLib Table of Contents  OptiVec home