Home
last modified time | relevance | path

Searched refs:squareOfMean (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/StatisticsFunctions/
Darm_var_q31.c69 q63_t meanOfSquares, squareOfMean; /* square of mean and mean of square */ in arm_var_q31() local
122 squareOfMean = sum * sum / (q63_t) (blockSize * (blockSize - 1U)); in arm_var_q31()
125 *pResult = asrl(meanOfSquares - squareOfMean, 15U); in arm_var_q31()
135 q63_t meanOfSquares, squareOfMean; /* Square of mean and mean of square */ in arm_var_q31() local
206 squareOfMean = ( sum * sum / (q63_t)(blockSize * (blockSize - 1U))); in arm_var_q31()
209 *pResult = (meanOfSquares - squareOfMean) >> 15U; in arm_var_q31()
Darm_var_q15.c66 q63_t meanOfSquares, squareOfMean; /* square of mean and mean of square */ in arm_var_q15() local
117 squareOfMean = arm_div_q63_to_q31((q63_t)sum * sum, (q31_t)(blockSize * (blockSize - 1U))); in arm_var_q15()
120 *pResult = (meanOfSquares - squareOfMean) >> 15; in arm_var_q15()
130 q31_t meanOfSquares, squareOfMean; /* Square of mean and mean of square */ in arm_var_q15() local
221 squareOfMean = (q31_t) ((q63_t) sum * sum / (q63_t)(blockSize * (blockSize - 1U))); in arm_var_q15()
224 *pResult = (meanOfSquares - squareOfMean) >> 15U; in arm_var_q15()
Darm_std_q31.c79 q63_t meanOfSquares, squareOfMean; /* Square of mean and mean of square */ in arm_std_q31() local
150 squareOfMean = ( sum * sum / (q63_t)(blockSize * (blockSize - 1U))); in arm_std_q31()
153 arm_sqrt_q31((meanOfSquares - squareOfMean) >> 15U, pResult); in arm_std_q31()
Darm_std_q15.c76 q31_t meanOfSquares, squareOfMean; /* Square of mean and mean of square */ in arm_std_q15() local
163 squareOfMean = (q31_t) ((q63_t) sum * sum / (q63_t)(blockSize * (blockSize - 1U))); in arm_std_q15()
167 arm_sqrt_q15(__SSAT((meanOfSquares - squareOfMean) >> 15U, 16U), pResult); in arm_std_q15()