VF_iselementCVD_iselementCVE_iselementC
VCF_iselementCVCD_iselementCVCE_iselementC
VPF_iselementCVPD_iselementCVPE_iselementC
VI_iselementCVBI_iselementCVSI_iselementCVLI_iselementCVQI_iselementC
VU_iselementCVUB_iselementCVUS_iselementCVUL_iselementCVUI_iselementC
FunctionTest if one or more elements of a table are equal to C.
Syntax C/C++#include <VFstd.h>
int VF_iselementC( fVector Tab, ui size, float C );
C++ VecObj#include <OptiVec.h>
int vector<T>::iselementC( const T& C );
Pascal/Delphiuses VFstd;
function VF_iselementC( Tab:fVector; size:UIntSize; C:Single ): IntBool;
DescriptionThe vector Tab is searched for the value C. If one or more elements are equal to C, TRUE (+1) is returned, otherwise FALSE (0). No ordering of Tab is assumed and a linear search performed. A related function that finds the table element closest (but not necessarily equal) to C is VF_searchC.
Error handlingnone
Return valueTRUE (+1), if C is an element of X, otherwise FALSE (0).
See alsoVF_searchC,   VF_iselementV,   lfind,   lsearch

VectorLib Table of Contents  OptiVec home