/cmsis-dsp-3.5.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.5.0/Examples/ARM/arm_bayes_example/ |
D | arm_bayes_example_f32.c | 97 uint32_t index; in main() local 109 index = arm_gaussian_naive_bayes_predict_f32(&S, in, result,temp); in main() 111 maxProba = result[index]; in main() 114 printf("Class = %d\n", index); in main() 121 index = arm_gaussian_naive_bayes_predict_f32(&S, in, result,temp); in main() 123 maxProba = result[index]; in main() 126 printf("Class = %d\n", index); in main() 133 index = arm_gaussian_naive_bayes_predict_f32(&S, in, result,temp); in main() 135 maxProba = result[index]; in main() 138 printf("Class = %d\n", index); in main()
|
/cmsis-dsp-3.5.0/Source/FastMathFunctions/ |
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_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_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_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_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.5.0/Source/StatisticsFunctions/ |
D | arm_max_f32.c | 163 uint32x4_t index; in arm_max_f32() local 170 index = vld1q_u32(indexInit); in arm_max_f32() 216 countV = vbslq_u32(idxV, index,countV ); in arm_max_f32() 218 index = vaddq_u32(index,delta); in arm_max_f32() 273 uint32_t index; /* index of maximum value */ in arm_max_f32() local 284 index = 0U; in arm_max_f32() 299 outIndex = index + 1U; in arm_max_f32() 306 outIndex = index + 2U; in arm_max_f32() 313 outIndex = index + 3U; in arm_max_f32() 320 outIndex = index + 4U; in arm_max_f32() [all …]
|
D | arm_min_f32.c | 164 uint32x4_t index; in arm_min_f32() local 171 index = vld1q_u32(indexInit); in arm_min_f32() 216 countV = vbslq_u32(idxV, index,countV ); in arm_min_f32() 218 index = vaddq_u32(index,delta); in arm_min_f32() 271 uint32_t index; /* index of maximum value */ in arm_min_f32() local 282 index = 0U; in arm_min_f32() 297 outIndex = index + 1U; in arm_min_f32() 304 outIndex = index + 2U; in arm_min_f32() 311 outIndex = index + 3U; in arm_min_f32() 318 outIndex = index + 4U; in arm_min_f32() [all …]
|
D | arm_max_q15.c | 112 uint32_t index; /* index of maximum value */ in arm_max_q15() local 122 index = 0U; in arm_max_q15() 137 outIndex = index + 1U; in arm_max_q15() 144 outIndex = index + 2U; in arm_max_q15() 151 outIndex = index + 3U; in arm_max_q15() 158 outIndex = index + 4U; in arm_max_q15() 161 index += 4U; in arm_max_q15()
|
D | arm_min_q15.c | 113 uint32_t index; /* index of maximum value */ in arm_min_q15() local 123 index = 0U; in arm_min_q15() 138 outIndex = index + 1U; in arm_min_q15() 145 outIndex = index + 2U; in arm_min_q15() 152 outIndex = index + 3U; in arm_min_q15() 159 outIndex = index + 4U; in arm_min_q15() 162 index += 4U; in arm_min_q15()
|
D | arm_min_q31.c | 113 uint32_t index; /* index of maximum value */ in arm_min_q31() local 123 index = 0U; in arm_min_q31() 138 outIndex = index + 1U; in arm_min_q31() 145 outIndex = index + 2U; in arm_min_q31() 152 outIndex = index + 3U; in arm_min_q31() 159 outIndex = index + 4U; in arm_min_q31() 162 index += 4U; in arm_min_q31()
|
D | arm_max_q31.c | 112 uint32_t index; /* index of maximum value */ in arm_max_q31() local 122 index = 0U; in arm_max_q31() 137 outIndex = index + 1U; in arm_max_q31() 144 outIndex = index + 2U; in arm_max_q31() 151 outIndex = index + 3U; in arm_max_q31() 158 outIndex = index + 4U; in arm_max_q31() 161 index += 4U; in arm_max_q31()
|
D | arm_min_f16.c | 146 uint32_t index; /* index of maximum value */ in arm_min_f16() local 157 index = 0U; in arm_min_f16() 172 outIndex = index + 1U; in arm_min_f16() 179 outIndex = index + 2U; in arm_min_f16() 186 outIndex = index + 3U; in arm_min_f16() 193 outIndex = index + 4U; in arm_min_f16() 196 index += 4U; in arm_min_f16()
|
D | arm_max_f16.c | 152 uint32_t index; /* index of maximum value */ in arm_max_f16() local 163 index = 0U; in arm_max_f16() 178 outIndex = index + 1U; in arm_max_f16() 185 outIndex = index + 2U; in arm_max_f16() 192 outIndex = index + 3U; in arm_max_f16() 199 outIndex = index + 4U; in arm_max_f16() 202 index += 4U; in arm_max_f16()
|
D | arm_absmax_f32.c | 135 …uint32_t index; /* index of maximum value */ … in arm_absmax_f32() local 143 …index = 0U; … in arm_absmax_f32() 158 …outIndex = index + 1U; … in arm_absmax_f32() 166 …outIndex = index + 2U; … in arm_absmax_f32() 174 …outIndex = index + 3U; … in arm_absmax_f32() 182 …outIndex = index + 4U; … in arm_absmax_f32() 185 …index += 4U; … in arm_absmax_f32()
|
D | arm_max_q7.c | 166 uint32_t index; /* index of maximum value */ in arm_max_q7() local 176 index = 0U; in arm_max_q7() 191 outIndex = index + 1U; in arm_max_q7() 198 outIndex = index + 2U; in arm_max_q7() 205 outIndex = index + 3U; in arm_max_q7() 212 outIndex = index + 4U; in arm_max_q7() 215 index += 4U; in arm_max_q7()
|
D | arm_min_q7.c | 194 uint32_t index; /* index of maximum value */ in arm_min_q7() local 204 index = 0U; in arm_min_q7() 219 outIndex = index + 1U; in arm_min_q7() 226 outIndex = index + 2U; in arm_min_q7() 233 outIndex = index + 3U; in arm_min_q7() 240 outIndex = index + 4U; in arm_min_q7() 243 index += 4U; in arm_min_q7()
|
/cmsis-dsp-3.5.0/Include/dsp/ |
D | utils.h | 69 uint32_t index, i; in arm_recip_q31() local 85 index = (uint32_t)(in >> 24); in arm_recip_q31() 86 index = (index & INDEX_MASK); in arm_recip_q31() 89 out = pRecipTable[index]; in arm_recip_q31() 121 uint32_t index = 0, i = 0; in arm_recip_q15() local 137 index = (uint32_t)(in >> 8); in arm_recip_q15() 138 index = (index & INDEX_MASK); in arm_recip_q15() 141 out = pRecipTable[index]; in arm_recip_q15()
|
/cmsis-dsp-3.5.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()
|