/* Maximum value of absolute values of a floating-point vector.  */
void arm_absmax_f64(const float64_t *pSrc, uint32_t blockSize, float64_t *pResult, uint32_t *pIndex)
/* Maximum value of absolute values of a floating-point vector.  */
void arm_absmax_f64(const float64_t *pSrc, uint32_t blockSize, float64_t *pResult, uint32_t *pIndex)
{
        float64_t maxVal, out;
        uint32_t blkCnt, outIndex;
  outIndex = 0U;
  out = fabs(*pSrc++);
  blkCnt = (blockSize - 1U);
  while (blkCnt > 0U)
  {
    maxVal = fabs(*pSrc++);
    if (out < maxVal)
    {
      out = maxVal;
      outIndex = blockSize - blkCnt;
    }
    blkCnt--;
  }
  *pResult = out;
  *pIndex = outIndex;
}