1.6.2.5 mchp_min_f32()

void mchp_min_f32 (const float32_t * pSrc, uint32_t blockSize, float32_t * pResult, uint32_t * pIndex)

Minimum value of a single-precision floating-point vector.

Scans the input vector and returns the minimum value and the index of its first occurrence. The index is zero-based.

Parameters:
in pSrc

Pointer to input vector

in blockSize

Number of samples to process

out pResult

Computed minimum value

out pIndex

Index of minimum value

Note:
  • If multiple elements have the same minimum value, the lowest index is returned.

  • NaN values are ignored during comparison.

  • Behavior is undefined if blockSize is zero.