DSPF_sp_maxval
[Math]

Collaboration diagram for DSPF_sp_maxval:


Detailed Description

float DSPF_sp_maxval (const float *x, int nx)


Function Documentation

float DSPF_sp_maxval ( const float *  x,
int  nx 
)

This routine finds out the maximum number in the input array. This code returns the maximum value in the array.

Parameters:
x Pointer to input array.
nx Number of inputs in the input array.
Algorithm:
DSPF_sp_maxval_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 should be multiple of 4 and >= 4
x should be double-word aligned
Implementation Notes:
Interruptibility: The code is interruptible.
Endian Support: The code supports both big and little endian modes.


Copyright 2014, Texas Instruments Incorporated