| VF_iselementC | VD_iselementC | VE_iselementC |
| VCF_iselementC | VCD_iselementC | VCE_iselementC |
| VPF_iselementC | VPD_iselementC | VPE_iselementC |
| VI_iselementC | VBI_iselementC | VSI_iselementC | VLI_iselementC | VQI_iselementC |
| VU_iselementC | VUB_iselementC | VUS_iselementC | VUL_iselementC | VUI_iselementC |
|
| Function | Test 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/Delphi | uses VFstd;
function VF_iselementC( Tab:fVector; size:UInt; C:Single ): IntBool; |
|
| Description | The 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. |
|
|
| Return value | TRUE (+1), if C is an element of X, otherwise FALSE (0). |
|
|