Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 78) sorted by relevance

1234

/cmsis-dsp-latest/Testing/TestScripts/
DNewParser.py25 d={}
27 d["class"]=toks["class"]
29 d["folder"]=toks["folder"]
30 return(d)
33 d={}
36 d["message"]=toks["message"]
38 d["class"] = toks["desc"]["class"]
41 d["deprecated"] = False
43 d["deprecated"] = True
46 d["PARAMID"] = toks["PARAMID"]
[all …]
DParser.py72 d = {}
77 d["deprecated"] = False
82 d["message"] = data[0].strip()
85 d["class"] = data[1].strip()
88 d["deprecated"] = True
96 self._data = d
102 def writeData(self,d): argument
103 self._data=d
198 def reident(self,current,d=2): argument
203 c.reident(current+d)
/cmsis-dsp-latest/Testing/PatternGeneration/
DMatrix.py42 d=np.diagonal(ma)
43 j = np.argmax(d[k:]) + k
72 d=np.diag(np.diagonal(ma))
74 return(ll,d,piv)
77 def valid(src,ll,d,piv): argument
84 t = np.matmul(ll,np.matmul(d,np.transpose(ll)))
164 def getInvertibleMatrix(d): argument
165 m = list(np.identity(d))
166 if d == 1:
168 if d == 2:
[all …]
/cmsis-dsp-latest/PythonWrapper/examples/
Dtestdistance.py3 import scipy.spatial.distance as d namespace
18 ref=d.braycurtis(a,b)
26 ref=d.canberra(a,b)
33 ref=d.chebyshev(a,b)
44 ref=d.cityblock(a,b)
55 ref=d.correlation(a,b)
62 ref=d.cosine(a,b)
73 ref=d.euclidean(a,b)
86 ref=d.jensenshannon(pa,pb)
94 ref=d.minkowski(a,b,w)
[all …]
Dexample_1_9.py134 d = 11 variable
135 assert_allclose(wave[:-d],output[d:],atol=0.1)
149 assert_allclose(wave[:-d],outputF32[d:],atol=0.1)
163 assert_allclose(wave[:-d],outputF32[d:],atol=0.1)
/cmsis-dsp-latest/Source/ComplexMathFunctions/
Darm_cmplx_mult_cmplx_f16.c170 _Float16 a, b, c, d; /* Temporary variables to store real and imaginary values */ in arm_cmplx_mult_cmplx_f16() local
185 d = *pSrcB++; in arm_cmplx_mult_cmplx_f16()
187 *pDst++ = (a * c) - (b * d); in arm_cmplx_mult_cmplx_f16()
188 *pDst++ = (a * d) + (b * c); in arm_cmplx_mult_cmplx_f16()
193 d = *pSrcB++; in arm_cmplx_mult_cmplx_f16()
194 *pDst++ = (a * c) - (b * d); in arm_cmplx_mult_cmplx_f16()
195 *pDst++ = (a * d) + (b * c); in arm_cmplx_mult_cmplx_f16()
200 d = *pSrcB++; in arm_cmplx_mult_cmplx_f16()
201 *pDst++ = (a * c) - (b * d); in arm_cmplx_mult_cmplx_f16()
202 *pDst++ = (a * d) + (b * c); in arm_cmplx_mult_cmplx_f16()
[all …]
Darm_cmplx_mult_cmplx_f32.c188 float32_t a, b, c, d; /* Temporary variables to store real and imaginary values */ in arm_cmplx_mult_cmplx_f32() local
240 d = *pSrcB++; in arm_cmplx_mult_cmplx_f32()
242 *pDst++ = (a * c) - (b * d); in arm_cmplx_mult_cmplx_f32()
243 *pDst++ = (a * d) + (b * c); in arm_cmplx_mult_cmplx_f32()
248 d = *pSrcB++; in arm_cmplx_mult_cmplx_f32()
249 *pDst++ = (a * c) - (b * d); in arm_cmplx_mult_cmplx_f32()
250 *pDst++ = (a * d) + (b * c); in arm_cmplx_mult_cmplx_f32()
255 d = *pSrcB++; in arm_cmplx_mult_cmplx_f32()
256 *pDst++ = (a * c) - (b * d); in arm_cmplx_mult_cmplx_f32()
257 *pDst++ = (a * d) + (b * c); in arm_cmplx_mult_cmplx_f32()
[all …]
Darm_cmplx_mult_cmplx_q31.c174 q31_t a, b, c, d; /* Temporary variables */ in arm_cmplx_mult_cmplx_q31() local
189 d = *pSrcB++; in arm_cmplx_mult_cmplx_q31()
191 *pDst++ = (q31_t) ( (((q63_t) a * c) >> 33) - (((q63_t) b * d) >> 33) ); in arm_cmplx_mult_cmplx_q31()
192 *pDst++ = (q31_t) ( (((q63_t) a * d) >> 33) + (((q63_t) b * c) >> 33) ); in arm_cmplx_mult_cmplx_q31()
197 d = *pSrcB++; in arm_cmplx_mult_cmplx_q31()
198 *pDst++ = (q31_t) ( (((q63_t) a * c) >> 33) - (((q63_t) b * d) >> 33) ); in arm_cmplx_mult_cmplx_q31()
199 *pDst++ = (q31_t) ( (((q63_t) a * d) >> 33) + (((q63_t) b * c) >> 33) ); in arm_cmplx_mult_cmplx_q31()
204 d = *pSrcB++; in arm_cmplx_mult_cmplx_q31()
205 *pDst++ = (q31_t) ( (((q63_t) a * c) >> 33) - (((q63_t) b * d) >> 33) ); in arm_cmplx_mult_cmplx_q31()
206 *pDst++ = (q31_t) ( (((q63_t) a * d) >> 33) + (((q63_t) b * c) >> 33) ); in arm_cmplx_mult_cmplx_q31()
[all …]
Darm_cmplx_mult_cmplx_q15.c179 q15_t a, b, c, d; /* Temporary variables */ in arm_cmplx_mult_cmplx_q15() local
194 d = *pSrcB++; in arm_cmplx_mult_cmplx_q15()
196 *pDst++ = (q15_t) ( (((q31_t) a * c) >> 17) - (((q31_t) b * d) >> 17) ); in arm_cmplx_mult_cmplx_q15()
197 *pDst++ = (q15_t) ( (((q31_t) a * d) >> 17) + (((q31_t) b * c) >> 17) ); in arm_cmplx_mult_cmplx_q15()
202 d = *pSrcB++; in arm_cmplx_mult_cmplx_q15()
203 *pDst++ = (q15_t) ( (((q31_t) a * c) >> 17) - (((q31_t) b * d) >> 17) ); in arm_cmplx_mult_cmplx_q15()
204 *pDst++ = (q15_t) ( (((q31_t) a * d) >> 17) + (((q31_t) b * c) >> 17) ); in arm_cmplx_mult_cmplx_q15()
209 d = *pSrcB++; in arm_cmplx_mult_cmplx_q15()
210 *pDst++ = (q15_t) ( (((q31_t) a * c) >> 17) - (((q31_t) b * d) >> 17) ); in arm_cmplx_mult_cmplx_q15()
211 *pDst++ = (q15_t) ( (((q31_t) a * d) >> 17) + (((q31_t) b * c) >> 17) ); in arm_cmplx_mult_cmplx_q15()
[all …]
Darm_cmplx_mult_cmplx_f64.c55 float64_t a, b, c, d; /* Temporary variables to store real and imaginary values */ in arm_cmplx_mult_cmplx_f64() local
68 d = *pSrcB++; in arm_cmplx_mult_cmplx_f64()
71 *pDst++ = (a * c) - (b * d); in arm_cmplx_mult_cmplx_f64()
72 *pDst++ = (a * d) + (b * c); in arm_cmplx_mult_cmplx_f64()
/cmsis-dsp-latest/Source/MatrixFunctions/
Darm_mat_ldlt_f64.c185 int d; in arm_mat_ldlt_f64() local
186 for(d=0; d < diag;d++) in arm_mat_ldlt_f64()
188 pd->pData[d*n+d] = pl->pData[d*n+d]; in arm_mat_ldlt_f64()
189 pl->pData[d*n+d] = 1.0; in arm_mat_ldlt_f64()
Darm_mat_ldlt_f32.c278 for(int d=0; d < diag;d++) in arm_mat_ldlt_f32() local
280 pd->pData[d*n+d] = pl->pData[d*n+d]; in arm_mat_ldlt_f32()
281 pl->pData[d*n+d] = 1.0; in arm_mat_ldlt_f32()
348 int row,d; in arm_mat_ldlt_f32() local
439 for(d=0; d < diag;d++) in arm_mat_ldlt_f32()
441 pd->pData[d*n+d] = pl->pData[d*n+d]; in arm_mat_ldlt_f32()
442 pl->pData[d*n+d] = 1.0; in arm_mat_ldlt_f32()
Darm_mat_cmplx_mult_q15.c337 q15_t a, b, c, d; in arm_mat_cmplx_mult_q15() local
498 d = *(pInB + 1U); in arm_mat_cmplx_mult_q15()
502 sumImag += (q31_t) a *d; in arm_mat_cmplx_mult_q15()
503 sumReal -= (q31_t) b *d; in arm_mat_cmplx_mult_q15()
511 d = *(pInB + 3U); in arm_mat_cmplx_mult_q15()
518 sumImag += (q31_t) a * d; in arm_mat_cmplx_mult_q15()
519 sumReal -= (q31_t) b * d; in arm_mat_cmplx_mult_q15()
556 d = *pInB++; in arm_mat_cmplx_mult_q15()
560 sumImag += (q31_t) a * d; in arm_mat_cmplx_mult_q15()
561 sumReal -= (q31_t) b * d; in arm_mat_cmplx_mult_q15()
/cmsis-dsp-latest/Testing/DebugScripts/
Ddebug.py8 import PatternGeneration.DebugTools as d namespace
42 inSig = d.readF32Pattern(inputPath)
45 refSig = d.readF32Pattern(refPath)
48 sig = d.readF32Output(outputPath)
52 inSig = d.readQ31Pattern(inputPath)
55 refSig = d.readQ31Pattern(refPath)
58 sig = d.readQ31Output(outputPath)
62 inSig = d.readQ15Pattern(inputPath)
65 refSig = d.readQ15Pattern(refPath)
68 sig = d.readQ15Output(outputPath)
[all …]
Ddebugbiquad.py16 import PatternGeneration.DebugTools as d namespace
27 inSig = d.readF16Pattern(inputPath)
29 refSig = d.readF16Pattern(refPath)
31 sig = d.readF16Output(outputPath)
/cmsis-dsp-latest/dsppp/Examples/
Dvector_op.cpp41 Vector<float32_t,NB> d = a + b * c; in main() local
44 std::cout << "Result = " << d ; in main()
47 auto subD = d.sub(2); in main()
52 std::cout << "Result = " << d ; in main()
55 d.sub<2>(1) = 0.0f; in main()
56 std::cout << "Result = " << d ; in main()
Ddot_product.cpp31 Vector<float32_t,NB> d; in main() local
37 a[i] = b[i] = c[i] = d[i] = i; in main()
42 r = dot(scale*(a+b),c*d); in main()
/cmsis-dsp-latest/Documentation/Doxygen/src/
Dfusion.md4 Vector<float32_t,NB> d = a + b * c;
14 When this AST is assigned to the variable `d` it is evaluated.
21 d = a;
24 and `d` and `a` are virtual vectors then nothing will be written to `d` !
26 `d` will becomes `a` and `a` will no more be valid.
31 d = copy(a);
Dintroduction.md9 <scale*(\overrightarrow{a}+\overrightarrow{b}),\overrightarrow{c}*\overrightarrow{d}>
18 arm_mult_f32(c,d,tmp3,NB);
36 r = dot(scale*(a+b),c*d);
48 \overrightarrow{d} = \overrightarrow{a} + \overrightarrow{b} * \overrightarrow{c}
56 Vector<float32_t,NB> d = a + b * c;
/cmsis-dsp-latest/Scripts/
DgenMVETwiddleCoefs.py42 for d in arr:
43 val = "%d," % d
56 for d in arr:
57 val = "%.20ff," % f32(d)
70 for d in arr:
71 val = "(float16_t)%.13ff," % f16(d)
84 for d in arr:
85 val = "%s," % Tools.to_q31(d)
98 for d in arr:
99 val = "%s," % Tools.to_q15(d)
[all …]
/cmsis-dsp-latest/Testing/
DsummaryBench.py15 import TestScripts.Deprecate as d namespace
84 def reg(d): argument
85 m=d["CYCLES"].max()
88 results = smf.ols('CYCLES ~ ' + elem.params.formula, data=d).fit()
133 d.deprecate(root,args.others)
DprocessTests.py4 import TestScripts.Deprecate as d namespace
31 c = TestScripts.CodeGen.CodeGen(args.p,args.d, args.e)
35 d.deprecate(root,args.others)
/cmsis-dsp-latest/Source/InterpolationFunctions/
Darm_spline_interp_f32.c159 float32_t * d = (S->coeffs)+(2*(n-1)); in arm_spline_f32() local
190 div = vdupq_n_f32(d[i]); in arm_spline_f32()
224 …*pDst = y[i]+b[i]*(x_sc-x[i])+c[i]*(x_sc-x[i])*(x_sc-x[i])+d[i]*(x_sc-x[i])*(x_sc-x[i])*(x_sc-x[i]… in arm_spline_f32()
274 …*pDst = y[i-1]+b[i-1]*(x_sc-x[i-1])+c[i-1]*(x_sc-x[i-1])*(x_sc-x[i-1])+d[i-1]*(x_sc-x[i-1])*(x_sc-… in arm_spline_f32()
/cmsis-dsp-latest/dsppp/tests/
Ddot_test.cpp30 PVector<T,NB> d; in complex_test() local
37 PVector<T> d(NB); in complex_test() local
46 init_array(d,NB); in complex_test()
51 O result = dot(scale*(a+b),c*d); in complex_test()
63 d.const_ptr(), in complex_test()
/cmsis-dsp-latest/Source/FilteringFunctions/
Darm_lms_f32.c180 float32_t sum, e, d; /* accumulator, error, reference data sample */ in arm_lms_f32() local
187 d = 0.0f; in arm_lms_f32()
246 d = (float32_t) (*pRef++); in arm_lms_f32()
247 e = d - sum; in arm_lms_f32()

1234