Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kMath_FindFirst32s | ( | const k32s * | v,
|  | kSize | count,
|  | kComparison | comparison,
|  | k32s | value,
|  | kSize * | index
| ) |  |

Compares each value in a numerical array with a specified value and returns the index of the first match.

Parameters

  v | Array of values.
  count | Count of values.
  comparison | Comparator that will be used to determine a match.
  value | Value for comparison.
  index | Returns the index of the first match (or count, if no match is found).

Returns
  Operation status.