Find value in array
dip_Error dip_FloatArrayFind ( array, value, index, found )
Finds a value in an array and "returns" its index in the array. If found is zero, FloatArrayFind will produce an error if value is not found, otherwise found obtains the search result (DIP_FALSE if value is not found).
Data type | Name | Description |
dip_FloatArray | array | Array to find value in |
dip_float | value | Value to find |
dip_int * | index | Index of the found value |
dip_Boolean * | found | Value found or not |
FloatArrayNew, FloatArrayFree, FloatArrayCopy, FloatArrayFind
IntegerArrayFind, FloatArrayFind, ComplexArrayFind, DataTypeArrayFind, BooleanArrayFind, VoidPointerArrayFind