DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.

BooleanArrayFind

Find value in array

SYNOPSIS

dip_Error dip_BooleanArrayFind ( array, value, index, found )

FUNCTION

Finds a value in an array and "returns" its index in the array. If found is zero, BooleanArrayFind will produce an error if value is not found, otherwise found obtains the search result (DIP_FALSE if value is not found).

ARGUMENTS

Data typeNameDescription
dip_BooleanArrayarrayArray to find value in
dip_BooleanvalueValue to find
dip_int *indexIndex of the found value
dip_Boolean *foundValue found or not

SEE ALSO

BooleanArrayNew, BooleanArrayFree, BooleanArrayCopy, BooleanArrayFind

IntegerArrayFind, FloatArrayFind, ComplexArrayFind, DataTypeArrayFind, BooleanArrayFind, VoidPointerArrayFind