VCF_sabsminVCD_sabsminVCE_sabsmin
FunctionSmallest complex vector element in terms of the sum |Re| + |Im|
Syntax C/C++#include <VCFstd.h>
fComplex VCF_sabsmin( cfVector X, ui size);
C++ VecObj#include <OptiVec.h>
T vector<complex<T>>::sabsmin();
Pascal/Delphiuses VCFstd;
function VCF_sabsmin( X:cfVector; size:UIntSize ):fComplex;

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

    (similarly VCD_,   VCE_)
CUDA function C/C++#include <cudaVCFstd.h>
int cudaVCF_sabsmin( fComplex *h_RetVal, cfVector d_X, ui size );
int cusdVCF_sabsmin( fComplex *d_RetVal, cfVector d_X, ui size );
fComplex VCFcu_sabsmin( cfVector h_X, ui size );
CUDA function Pascal/Delphiuses VCFstd;
function cudaVCF_sabsmin( var h_RetVal:fComplex; d_X:cfVector; size:UIntSize ): IntBool;
function cusdVCF_sabsmin( d_RetVal:PfComplex; d_X:cfVector; size:UIntSize ): IntBool;
function VCFcu_sabsmin( h_X:cfVector; size:UIntSize ):fComplex;
DescriptionBy the criterion of the sum |Re| + |Im|, the smallest element of a cartesian complex vector is found and returned. In many applications, this function may serve as a much faster replacement for VCF_cabsmin. The latter function uses the absolute value, sqrt(Re2 + Im2), as its criterion.
Error handlingnone
Return valuesmallest element
See alsoVCF_absmin,   VCF_absminReIm,   VCF_cabsmin

VectorLib Table of Contents  OptiVec home