/* ======================================================================== */ /* TEXAS INSTRUMENTS, INC. */ /* */ /* NAME */ /* DSPF_sp_maxidx- Index of Maximum Element of Single Precision Vector */ /* */ /* USAGE */ /* This routine has the following C prototype: */ /* */ /* int DSPF_sp_maxidx( */ /* const float* x, */ /* int nx */ /* ) */ /* */ /* x : Pointer to Input array. */ /* nx: Number of Inputs in the input Array. */ /* */ /* */ /* DESCRIPTION */ /* This routine finds out the index of maximum number in the input */ /* array. This function returns the index of the greatest value. */ /* */ /* */ /* ------------------------------------------------------------------------ */ /* Copyright (c) 2003 Texas Instruments, Incorporated. */ /* All Rights Reserved. */ /* ======================================================================== */ #ifndef DSPF_SP_MAXIDX_ #define DSPF_SP_MAXIDX_ 1 int DSPF_sp_maxidx(const float* x, int nx); #endif /* ======================================================================== */ /* End of file: dspf_sp_maxidx.h */ /* ------------------------------------------------------------------------ */ /* Copyright (C) 2003 Texas Instruments, Incorporated. */ /* All Rights Reserved. */ /* ======================================================================== */