1.6.2.1 mchp_max_f32()
void mchp_max_f32 (const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, uint32_t * pIndex)
Maximum value of a single-precision floating-point vector.
Scans the input vector and returns the maximum value along with the index of its first occurrence. The index is zero-based.
| in | pSrc |
Pointer to input vector |
| in | blockSize |
Length of the input vector |
| out | pResult |
Computed maximum value |
| out | pIndex |
Index of maximum value |
Note:
-
If multiple elements have the same maximum value, the lowest index is returned.
-
NaN values are ignored during comparison.
-
Behavior is undefined if blockSize is zero or pSrc is NULL.
