Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kMath_ReplaceC32s | ( | const k32s * | vIn,
|  | k32s * | vOut,
|  | kSize | count,
|  | kComparison | comparison,
|  | k32s | value,
|  | k32s | replacement
| ) |  |

Compares each element in an input array with a specified value, and replaces all matching values with another given value.

Parameters

  vIn | Input array.
  vOut | Output array.
  count | Count of values.
  comparison | Comparator used to determine a match.
  value | Value for comparison.
  replacement | Value for replacement.

Returns
  Operation status.