DSPF_sp_maxidx
[Math]

Collaboration diagram for DSPF_sp_maxidx:


Detailed Description

int DSPF_sp_maxidx (const float *x, const int nx)


Function Documentation

int DSPF_sp_maxidx ( const float *  x,
const int  nx 
)

This routine finds out the index of maximum number in the input array. This function returns the index of the greatest value.

Parameters:
x Pointer to input array.
nx Number of inputs in the input array.
Algorithm:
DSPF_sp_maxidx_cn.c is the natural C equivalent of the optimized linear assembly code without restrictions. Note that the linear assembly code is optimized and restrictions may apply.
Assumptions:
nx is a multiple of 4 and >= 4.
Implementation Notes:
Interruptibility: The code is interruptible.
Endian Support: The code supports both big and little endian modes.


Copyright 2014, Texas Instruments Incorporated