CMSIS DSP library
Dependents: KL25Z_FFT_Demo Hat_Board_v5_1 KL25Z_FFT_Demo_tony KL25Z_FFT_Demo_tony ... more
Fork of mbed-dsp by
Diff: cmsis_dsp/StatisticsFunctions/arm_std_f32.c
- Revision:
- 2:da51fb522205
- Parent:
- 1:fdd22bb7aa52
- Child:
- 3:7a284390b0ce
--- a/cmsis_dsp/StatisticsFunctions/arm_std_f32.c Wed Nov 28 12:30:09 2012 +0000 +++ b/cmsis_dsp/StatisticsFunctions/arm_std_f32.c Thu May 30 17:10:11 2013 +0100 @@ -2,12 +2,12 @@ * Copyright (C) 2010 ARM Limited. All rights reserved. * * $Date: 15. February 2012 -* $Revision: V1.1.0 +* $Revision: V1.1.0 * -* Project: CMSIS DSP Library -* Title: arm_std_f32.c +* Project: CMSIS DSP Library +* Title: arm_std_f32.c * -* Description: Standard deviation of the elements of a floating-point vector. +* Description: Standard deviation of the elements of a floating-point vector. * * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 * @@ -43,11 +43,11 @@ * The underlying algorithm is used: * * <pre> - * Result = sqrt((sumOfSquares - sum<sup>2</sup> / blockSize) / (blockSize - 1)) + * Result = sqrt((sumOfSquares - sum<sup>2</sup> / blockSize) / (blockSize - 1)) * - * where, sumOfSquares = pSrc[0] * pSrc[0] + pSrc[1] * pSrc[1] + ... + pSrc[blockSize-1] * pSrc[blockSize-1] + * where, sumOfSquares = pSrc[0] * pSrc[0] + pSrc[1] * pSrc[1] + ... + pSrc[blockSize-1] * pSrc[blockSize-1] * - * sum = pSrc[0] + pSrc[1] + pSrc[2] + ... + pSrc[blockSize-1] + * sum = pSrc[0] + pSrc[1] + pSrc[2] + ... + pSrc[blockSize-1] * </pre> * * There are separate functions for floating point, Q31, and Q15 data types.