/cmsis-dsp-3.7.0-3.6.0/Testing/PatternGeneration/ |
D | Stats.py | 158 index=np.argmax(data[0:nbiters]) 159 maxvalue=data[index] 161 indexes.append(index) 165 index=np.argmax(data[0:nbiters]) 166 maxvalue=data[index] 168 indexes.append(index) 172 index=np.argmax(data[0:nbiters]) 173 maxvalue=data[index] 175 indexes.append(index) 188 index=np.argmax(data[0:nbiters]) [all …]
|
/cmsis-dsp-3.7.0-3.6.0/Examples/ARM/arm_bayes_example/ |
D | arm_bayes_example_f32.c | 94 uint32_t index; in main() local 106 index = arm_gaussian_naive_bayes_predict_f32(&S, in, result,temp); in main() 108 maxProba = result[index]; in main() 111 printf("Class = %d\n", index); in main() 118 index = arm_gaussian_naive_bayes_predict_f32(&S, in, result,temp); in main() 120 maxProba = result[index]; in main() 123 printf("Class = %d\n", index); in main() 130 index = arm_gaussian_naive_bayes_predict_f32(&S, in, result,temp); in main() 132 maxProba = result[index]; in main() 135 printf("Class = %d\n", index); in main()
|
/cmsis-dsp-3.7.0-3.6.0/Source/FastMathFunctions/ |
D | arm_cos_f32.c | 74 uint16_t index; /* Index variable */ in arm_cos_f32() local 97 index = (uint16_t)findex; in arm_cos_f32() 100 if (index >= FAST_MATH_TABLE_SIZE) { in arm_cos_f32() 101 index = 0; in arm_cos_f32() 106 fract = findex - (float32_t) index; in arm_cos_f32() 109 a = sinTable_f32[index]; in arm_cos_f32() 110 b = sinTable_f32[index+1]; in arm_cos_f32()
|
D | arm_sin_f32.c | 75 uint16_t index; /* Index variable */ in arm_sin_f32() local 98 index = (uint16_t)findex; in arm_sin_f32() 101 if (index >= FAST_MATH_TABLE_SIZE) { in arm_sin_f32() 102 index = 0; in arm_sin_f32() 107 fract = findex - (float32_t) index; in arm_sin_f32() 110 a = sinTable_f32[index]; in arm_sin_f32() 111 b = sinTable_f32[index+1]; in arm_sin_f32()
|
D | arm_sin_q15.c | 53 int32_t index; /* Index variable */ in arm_sin_q15() local 64 index = (uint32_t)x >> FAST_MATH_Q15_SHIFT; in arm_sin_q15() 67 fract = (x - (index << FAST_MATH_Q15_SHIFT)) << 9; in arm_sin_q15() 70 a = sinTable_q15[index]; in arm_sin_q15() 71 b = sinTable_q15[index+1]; in arm_sin_q15()
|
D | arm_sin_q31.c | 53 int32_t index; /* Index variable */ in arm_sin_q31() local 63 index = (uint32_t)x >> FAST_MATH_Q31_SHIFT; in arm_sin_q31() 66 fract = (x - (index << FAST_MATH_Q31_SHIFT)) << 9; in arm_sin_q31() 69 a = sinTable_q31[index]; in arm_sin_q31() 70 b = sinTable_q31[index+1]; in arm_sin_q31()
|
D | arm_cos_q15.c | 53 int32_t index; /* Index variable */ in arm_cos_q15() local 65 index = (uint32_t)x >> FAST_MATH_Q15_SHIFT; in arm_cos_q15() 68 fract = (x - (index << FAST_MATH_Q15_SHIFT)) << 9; in arm_cos_q15() 71 a = sinTable_q15[index]; in arm_cos_q15() 72 b = sinTable_q15[index+1]; in arm_cos_q15()
|
D | arm_cos_q31.c | 53 int32_t index; /* Index variable */ in arm_cos_q31() local 65 index = (uint32_t)x >> FAST_MATH_Q31_SHIFT; in arm_cos_q31() 68 fract = (x - (index << FAST_MATH_Q31_SHIFT)) << 9; in arm_cos_q31() 71 a = sinTable_q31[index]; in arm_cos_q31() 72 b = sinTable_q31[index+1]; in arm_cos_q31()
|
/cmsis-dsp-3.7.0-3.6.0/Source/StatisticsFunctions/ |
D | arm_max_f32.c | 162 uint32x4_t index; in arm_max_f32() local 169 index = vld1q_u32(indexInit); in arm_max_f32() 215 countV = vbslq_u32(idxV, index,countV ); in arm_max_f32() 217 index = vaddq_u32(index,delta); in arm_max_f32() 272 uint32_t index; /* index of maximum value */ in arm_max_f32() local 283 index = 0U; in arm_max_f32() 298 outIndex = index + 1U; in arm_max_f32() 305 outIndex = index + 2U; in arm_max_f32() 312 outIndex = index + 3U; in arm_max_f32() 319 outIndex = index + 4U; in arm_max_f32() [all …]
|
D | arm_min_f32.c | 163 uint32x4_t index; in arm_min_f32() local 170 index = vld1q_u32(indexInit); in arm_min_f32() 215 countV = vbslq_u32(idxV, index,countV ); in arm_min_f32() 217 index = vaddq_u32(index,delta); in arm_min_f32() 270 uint32_t index; /* index of maximum value */ in arm_min_f32() local 281 index = 0U; in arm_min_f32() 296 outIndex = index + 1U; in arm_min_f32() 303 outIndex = index + 2U; in arm_min_f32() 310 outIndex = index + 3U; in arm_min_f32() 317 outIndex = index + 4U; in arm_min_f32() [all …]
|
D | arm_max_q15.c | 111 uint32_t index; /* index of maximum value */ in arm_max_q15() local 121 index = 0U; in arm_max_q15() 136 outIndex = index + 1U; in arm_max_q15() 143 outIndex = index + 2U; in arm_max_q15() 150 outIndex = index + 3U; in arm_max_q15() 157 outIndex = index + 4U; in arm_max_q15() 160 index += 4U; in arm_max_q15()
|
D | arm_max_q31.c | 111 uint32_t index; /* index of maximum value */ in arm_max_q31() local 121 index = 0U; in arm_max_q31() 136 outIndex = index + 1U; in arm_max_q31() 143 outIndex = index + 2U; in arm_max_q31() 150 outIndex = index + 3U; in arm_max_q31() 157 outIndex = index + 4U; in arm_max_q31() 160 index += 4U; in arm_max_q31()
|
D | arm_min_q15.c | 112 uint32_t index; /* index of maximum value */ in arm_min_q15() local 122 index = 0U; in arm_min_q15() 137 outIndex = index + 1U; in arm_min_q15() 144 outIndex = index + 2U; in arm_min_q15() 151 outIndex = index + 3U; in arm_min_q15() 158 outIndex = index + 4U; in arm_min_q15() 161 index += 4U; in arm_min_q15()
|
D | arm_min_q31.c | 112 uint32_t index; /* index of maximum value */ in arm_min_q31() local 122 index = 0U; in arm_min_q31() 137 outIndex = index + 1U; in arm_min_q31() 144 outIndex = index + 2U; in arm_min_q31() 151 outIndex = index + 3U; in arm_min_q31() 158 outIndex = index + 4U; in arm_min_q31() 161 index += 4U; in arm_min_q31()
|
D | arm_max_f16.c | 151 uint32_t index; /* index of maximum value */ in arm_max_f16() local 162 index = 0U; in arm_max_f16() 177 outIndex = index + 1U; in arm_max_f16() 184 outIndex = index + 2U; in arm_max_f16() 191 outIndex = index + 3U; in arm_max_f16() 198 outIndex = index + 4U; in arm_max_f16() 201 index += 4U; in arm_max_f16()
|
D | arm_min_f16.c | 145 uint32_t index; /* index of maximum value */ in arm_min_f16() local 156 index = 0U; in arm_min_f16() 171 outIndex = index + 1U; in arm_min_f16() 178 outIndex = index + 2U; in arm_min_f16() 185 outIndex = index + 3U; in arm_min_f16() 192 outIndex = index + 4U; in arm_min_f16() 195 index += 4U; in arm_min_f16()
|
D | arm_absmax_f32.c | 134 …uint32_t index; /* index of maximum value */ … in arm_absmax_f32() local 142 …index = 0U; … in arm_absmax_f32() 157 …outIndex = index + 1U; … in arm_absmax_f32() 165 …outIndex = index + 2U; … in arm_absmax_f32() 173 …outIndex = index + 3U; … in arm_absmax_f32() 181 …outIndex = index + 4U; … in arm_absmax_f32() 184 …index += 4U; … in arm_absmax_f32()
|
D | arm_max_q7.c | 165 uint32_t index; /* index of maximum value */ in arm_max_q7() local 175 index = 0U; in arm_max_q7() 190 outIndex = index + 1U; in arm_max_q7() 197 outIndex = index + 2U; in arm_max_q7() 204 outIndex = index + 3U; in arm_max_q7() 211 outIndex = index + 4U; in arm_max_q7() 214 index += 4U; in arm_max_q7()
|
D | arm_absmax_q15.c | 112 …uint32_t index; /* index of maximum value */ … in arm_absmax_q15() local 120 …index = 0U; … in arm_absmax_q15() 135 …outIndex = index + 1U; … in arm_absmax_q15() 143 …outIndex = index + 2U; … in arm_absmax_q15() 151 …outIndex = index + 3U; … in arm_absmax_q15() 159 …outIndex = index + 4U; … in arm_absmax_q15() 162 …index += 4U; … in arm_absmax_q15()
|
/cmsis-dsp-3.7.0-3.6.0/Include/dsp/ |
D | utils.h | 71 uint32_t index, i; in arm_recip_q31() local 87 index = (uint32_t)(in >> 24); in arm_recip_q31() 88 index = (index & INDEX_MASK); in arm_recip_q31() 91 out = pRecipTable[index]; in arm_recip_q31() 123 uint32_t index = 0, i = 0; in arm_recip_q15() local 139 index = (uint32_t)(in >> 8); in arm_recip_q15() 140 index = (index & INDEX_MASK); in arm_recip_q15() 143 out = pRecipTable[index]; in arm_recip_q15()
|
/cmsis-dsp-3.7.0-3.6.0/Source/InterpolationFunctions/ |
D | arm_linear_interp_q15.c | 61 int32_t index; /* Index to read nearest output values */ in arm_linear_interp_q15() local 66 index = ((x & (int32_t)0xFFF00000) >> 20); in arm_linear_interp_q15() 68 if (index >= (int32_t)(nValues - 1)) in arm_linear_interp_q15() 72 else if (index < 0) in arm_linear_interp_q15() 83 y0 = pYData[index]; in arm_linear_interp_q15() 84 y1 = pYData[index + 1]; in arm_linear_interp_q15()
|
D | arm_linear_interp_q31.c | 62 int32_t index; /* Index to read nearest output values */ in arm_linear_interp_q31() local 67 index = ((x & (q31_t)0xFFF00000) >> 20); in arm_linear_interp_q31() 69 if (index >= (int32_t)(nValues - 1)) in arm_linear_interp_q31() 73 else if (index < 0) in arm_linear_interp_q31() 84 y0 = pYData[index]; in arm_linear_interp_q31() 85 y1 = pYData[index + 1]; in arm_linear_interp_q31()
|
D | arm_bilinear_interp_f32.c | 109 int32_t xIndex, yIndex, index; in arm_bilinear_interp_f32() local 124 index = (xIndex ) + (yIndex ) * S->numCols; in arm_bilinear_interp_f32() 128 f00 = pData[index]; in arm_bilinear_interp_f32() 129 f01 = pData[index + 1]; in arm_bilinear_interp_f32() 132 index = (xIndex ) + (yIndex+1) * S->numCols; in arm_bilinear_interp_f32() 136 f10 = pData[index]; in arm_bilinear_interp_f32() 137 f11 = pData[index + 1]; in arm_bilinear_interp_f32()
|
D | arm_bilinear_interp_f16.c | 61 int32_t xIndex, yIndex, index; in arm_bilinear_interp_f16() local 76 index = (xIndex ) + (yIndex ) * S->numCols; in arm_bilinear_interp_f16() 80 f00 = pData[index]; in arm_bilinear_interp_f16() 81 f01 = pData[index + 1]; in arm_bilinear_interp_f16() 84 index = (xIndex ) + (yIndex+1) * S->numCols; in arm_bilinear_interp_f16() 88 f10 = pData[index]; in arm_bilinear_interp_f16() 89 f11 = pData[index + 1]; in arm_bilinear_interp_f16()
|
D | arm_linear_interp_q7.c | 61 uint32_t index; /* Index to read nearest output values */ in arm_linear_interp_q7() local 70 index = (x >> 20) & 0xfff; in arm_linear_interp_q7() 72 if (index >= (nValues - 1)) in arm_linear_interp_q7() 83 y0 = pYData[index]; in arm_linear_interp_q7() 84 y1 = pYData[index + 1]; in arm_linear_interp_q7()
|