Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 117) sorted by relevance

12345

/cmsis-dsp-3.5.0/Source/TransformFunctions/
Darm_bitreversal.c49 uint16_t i, j; in arm_bitreversal_f32() local
53 j = 0U; in arm_bitreversal_f32()
60 if (i < j) in arm_bitreversal_f32()
64 pSrc[2U * i] = pSrc[2U * j]; in arm_bitreversal_f32()
65 pSrc[2U * j] = in; in arm_bitreversal_f32()
69 pSrc[(2U * i) + 1U] = pSrc[(2U * j) + 1U]; in arm_bitreversal_f32()
70 pSrc[(2U * j) + 1U] = in; in arm_bitreversal_f32()
74 pSrc[2U * (i + fftLenBy2p1)] = pSrc[2U * (j + fftLenBy2p1)]; in arm_bitreversal_f32()
75 pSrc[2U * (j + fftLenBy2p1)] = in; in arm_bitreversal_f32()
80 pSrc[(2U * (j + fftLenBy2p1)) + 1U]; in arm_bitreversal_f32()
[all …]
Darm_bitreversal_f16.c49 uint16_t i, j; in arm_bitreversal_f16() local
53 j = 0U; in arm_bitreversal_f16()
60 if (i < j) in arm_bitreversal_f16()
64 pSrc[2U * i] = pSrc[2U * j]; in arm_bitreversal_f16()
65 pSrc[2U * j] = in; in arm_bitreversal_f16()
69 pSrc[(2U * i) + 1U] = pSrc[(2U * j) + 1U]; in arm_bitreversal_f16()
70 pSrc[(2U * j) + 1U] = in; in arm_bitreversal_f16()
74 pSrc[2U * (i + fftLenBy2p1)] = pSrc[2U * (j + fftLenBy2p1)]; in arm_bitreversal_f16()
75 pSrc[2U * (j + fftLenBy2p1)] = in; in arm_bitreversal_f16()
80 pSrc[(2U * (j + fftLenBy2p1)) + 1U]; in arm_bitreversal_f16()
[all …]
Darm_cfft_radix2_q15.c92 uint32_t i, j, k, l; in arm_radix2_butterfly_q15() local
179 for (j = 0; j < n2; j++) in arm_radix2_butterfly_q15()
186 for (i = j; i < fftLen; i += n1) in arm_radix2_butterfly_q15()
278 uint32_t i, j, k, l; in arm_radix2_butterfly_q15()
291 for (j = 0; j < n2; j++) in arm_radix2_butterfly_q15()
298 for (i = j; i < fftLen; i += n1) in arm_radix2_butterfly_q15()
328 for (j = 0; j < n2; j++) in arm_radix2_butterfly_q15()
335 for (i = j; i < fftLen; i += n1) in arm_radix2_butterfly_q15()
362 for (j = 0; j < n2; j++) in arm_radix2_butterfly_q15()
370 for (i = j; i < fftLen; i += n1) in arm_radix2_butterfly_q15()
[all …]
/cmsis-dsp-3.5.0/Source/MatrixFunctions/
Darm_mat_cholesky_f32.c92 int i,j,k; in arm_mat_cholesky_f32() local
110 for(j=i ; j+3 < n ; j+=4) in arm_mat_cholesky_f32()
112 pG[(j + 0) * n + i] = pA[(j + 0) * n + i]; in arm_mat_cholesky_f32()
113 pG[(j + 1) * n + i] = pA[(j + 1) * n + i]; in arm_mat_cholesky_f32()
114 pG[(j + 2) * n + i] = pA[(j + 2) * n + i]; in arm_mat_cholesky_f32()
115 pG[(j + 3) * n + i] = pA[(j + 3) * n + i]; in arm_mat_cholesky_f32()
129 vecGj0=vldrwq_z_f32(&pG[(j + 0) * n + k],p0); in arm_mat_cholesky_f32()
130 vecGj1=vldrwq_z_f32(&pG[(j + 1) * n + k],p0); in arm_mat_cholesky_f32()
131 vecGj2=vldrwq_z_f32(&pG[(j + 2) * n + k],p0); in arm_mat_cholesky_f32()
132 vecGj3=vldrwq_z_f32(&pG[(j + 3) * n + k],p0); in arm_mat_cholesky_f32()
[all …]
Darm_mat_cholesky_f64.c80 int i,j,k; in arm_mat_cholesky_f64() local
101 for(j=i ; j+3 < n ; j+=4) in arm_mat_cholesky_f64()
103 pG[(j + 0) * n + i] = pA[(j + 0) * n + i]; in arm_mat_cholesky_f64()
104 pG[(j + 1) * n + i] = pA[(j + 1) * n + i]; in arm_mat_cholesky_f64()
105 pG[(j + 2) * n + i] = pA[(j + 2) * n + i]; in arm_mat_cholesky_f64()
106 pG[(j + 3) * n + i] = pA[(j + 3) * n + i]; in arm_mat_cholesky_f64()
120 vecGj0=vld1q_f64(&pG[(j + 0) * n + k]); in arm_mat_cholesky_f64()
121 vecGj1=vld1q_f64(&pG[(j + 1) * n + k]); in arm_mat_cholesky_f64()
122 vecGj2=vld1q_f64(&pG[(j + 2) * n + k]); in arm_mat_cholesky_f64()
123 vecGj3=vld1q_f64(&pG[(j + 3) * n + k]); in arm_mat_cholesky_f64()
[all …]
Darm_mat_cholesky_f16.c84 int i,j,k; in arm_mat_cholesky_f16() local
102 for(j=i ; j+3 < n ; j+=4) in arm_mat_cholesky_f16()
105 acc0[0]=pA[(j + 0) * n + i]; in arm_mat_cholesky_f16()
108 acc1[0]=pA[(j + 1) * n + i]; in arm_mat_cholesky_f16()
111 acc2[0]=pA[(j + 2) * n + i]; in arm_mat_cholesky_f16()
114 acc3[0]=pA[(j + 3) * n + i]; in arm_mat_cholesky_f16()
123 vecGj0=vldrhq_z_f16(&pG[(j + 0) * n + k],p0); in arm_mat_cholesky_f16()
124 vecGj1=vldrhq_z_f16(&pG[(j + 1) * n + k],p0); in arm_mat_cholesky_f16()
125 vecGj2=vldrhq_z_f16(&pG[(j + 2) * n + k],p0); in arm_mat_cholesky_f16()
126 vecGj3=vldrhq_z_f16(&pG[(j + 3) * n + k],p0); in arm_mat_cholesky_f16()
[all …]
Darm_mat_solve_lower_triangular_f32.c84 int i,j,k,n,cols; in arm_mat_solve_lower_triangular_f32() local
104 for(j=0; j+3 < cols; j += 4) in arm_mat_solve_lower_triangular_f32()
106 vecA = vld1q_f32(&pA[i * cols + j]); in arm_mat_solve_lower_triangular_f32()
110 vecX = vld1q_f32(&pX[cols*k+j]); in arm_mat_solve_lower_triangular_f32()
121 vst1q(&pX[i*cols+j],vecA); in arm_mat_solve_lower_triangular_f32()
125 for(; j < cols; j ++) in arm_mat_solve_lower_triangular_f32()
127 a_col = &pA[j]; in arm_mat_solve_lower_triangular_f32()
134 tmp -= lt_row[k] * pX[cols*k+j]; in arm_mat_solve_lower_triangular_f32()
142 pX[i*cols+j] = tmp; in arm_mat_solve_lower_triangular_f32()
185 int i,j,k,n,cols; in arm_mat_solve_lower_triangular_f32() local
[all …]
Darm_mat_solve_upper_triangular_f32.c77 int i,j,k,n,cols; in arm_mat_solve_upper_triangular_f32() local
96 for(j=0; j+3 < cols; j +=4) in arm_mat_solve_upper_triangular_f32()
98 vecA = vld1q_f32(&pA[i * cols + j]); in arm_mat_solve_upper_triangular_f32()
102 vecX = vld1q_f32(&pX[cols*k+j]); in arm_mat_solve_upper_triangular_f32()
115 vst1q(&pX[i*cols+j],vecA); in arm_mat_solve_upper_triangular_f32()
118 for(; j < cols; j ++) in arm_mat_solve_upper_triangular_f32()
120 a_col = &pA[j]; in arm_mat_solve_upper_triangular_f32()
128 tmp -= ut_row[k] * pX[cols*k+j]; in arm_mat_solve_upper_triangular_f32()
136 pX[i*cols+j] = tmp; in arm_mat_solve_upper_triangular_f32()
174 int i,j,k,n,cols; in arm_mat_solve_upper_triangular_f32() local
[all …]
Darm_mat_qr_f64.c105 int32_t i,j,k,blkCnt; in arm_mat_qr_f64() local
117 for(j=0;j<pSrc->numCols-col; j++) in arm_mat_qr_f64()
137 for(j=0;j<pSrc->numCols-col; j++) in arm_mat_qr_f64()
161 for(j=0;j<pSrc->numCols-col; j++) in arm_mat_qr_f64()
172 for(j=0;j<pSrc->numRows-col; j++) in arm_mat_qr_f64()
174 float64_t f = beta * pTmpA[j]; in arm_mat_qr_f64()
214 int32_t i,j,k, blkCnt; in arm_mat_qr_f64() local
228 for(j=0;j<pOutQ->numRows-pos; j++) in arm_mat_qr_f64()
247 for(j=0;j<pOutQ->numRows-pos; j++) in arm_mat_qr_f64()
271 for(j=0;j<pOutQ->numRows-pos; j++) in arm_mat_qr_f64()
[all …]
Darm_mat_solve_lower_triangular_f64.c81 int i,j,k,n,cols; in arm_mat_solve_lower_triangular_f64() local
101 for(j=0; j+1 < cols; j += 2) in arm_mat_solve_lower_triangular_f64()
103 vecA = vld1q_f64(&pA[i * cols + j]); in arm_mat_solve_lower_triangular_f64()
107 vecX = vld1q_f64(&pX[cols*k+j]); in arm_mat_solve_lower_triangular_f64()
118 vst1q_f64(&pX[i*cols+j],vecA); in arm_mat_solve_lower_triangular_f64()
122 for(; j < cols; j ++) in arm_mat_solve_lower_triangular_f64()
124 a_col = &pA[j]; in arm_mat_solve_lower_triangular_f64()
131 tmp -= lt_row[k] * pX[cols*k+j]; in arm_mat_solve_lower_triangular_f64()
139 pX[i*cols+j] = tmp; in arm_mat_solve_lower_triangular_f64()
182 int i,j,k,n,cols; in arm_mat_solve_lower_triangular_f64() local
[all …]
Darm_mat_solve_lower_triangular_f16.c85 int i,j,k,n,cols; in arm_mat_solve_lower_triangular_f16() local
105 for(j=0; j+7 < cols; j += 8) in arm_mat_solve_lower_triangular_f16()
107 vecA = vld1q_f16(&pA[i * cols + j]); in arm_mat_solve_lower_triangular_f16()
111 vecX = vld1q_f16(&pX[cols*k+j]); in arm_mat_solve_lower_triangular_f16()
122 vst1q(&pX[i*cols+j],vecA); in arm_mat_solve_lower_triangular_f16()
126 for(; j < cols; j ++) in arm_mat_solve_lower_triangular_f16()
128 a_col = &pA[j]; in arm_mat_solve_lower_triangular_f16()
135 tmp -= (_Float16)lt_row[k] * (_Float16)pX[cols*k+j]; in arm_mat_solve_lower_triangular_f16()
143 pX[i*cols+j] = tmp; in arm_mat_solve_lower_triangular_f16()
186 int i,j,k,n,cols; in arm_mat_solve_lower_triangular_f16() local
[all …]
Darm_mat_solve_upper_triangular_f16.c80 int i,j,k,n,cols; in arm_mat_solve_upper_triangular_f16() local
99 for(j=0; j+7 < cols; j +=8) in arm_mat_solve_upper_triangular_f16()
101 vecA = vld1q_f16(&pA[i * cols + j]); in arm_mat_solve_upper_triangular_f16()
105 vecX = vld1q_f16(&pX[cols*k+j]); in arm_mat_solve_upper_triangular_f16()
118 vst1q(&pX[i*cols+j],vecA); in arm_mat_solve_upper_triangular_f16()
121 for(; j < cols; j ++) in arm_mat_solve_upper_triangular_f16()
123 a_col = &pA[j]; in arm_mat_solve_upper_triangular_f16()
131 tmp -= (_Float16)ut_row[k] * (_Float16)pX[cols*k+j]; in arm_mat_solve_upper_triangular_f16()
139 pX[i*cols+j] = tmp; in arm_mat_solve_upper_triangular_f16()
176 int i,j,k,n,cols; in arm_mat_solve_upper_triangular_f16() local
[all …]
Darm_mat_solve_upper_triangular_f64.c74 int i,j,k,n,cols; in arm_mat_solve_upper_triangular_f64() local
93 for(j=0; j+1 < cols; j +=2) in arm_mat_solve_upper_triangular_f64()
95 vecA = vld1q_f64(&pA[i * cols + j]); in arm_mat_solve_upper_triangular_f64()
99 vecX = vld1q_f64(&pX[cols*k+j]); in arm_mat_solve_upper_triangular_f64()
112 vst1q_f64(&pX[i*cols+j],vecA); in arm_mat_solve_upper_triangular_f64()
115 for(; j < cols; j ++) in arm_mat_solve_upper_triangular_f64()
117 a_col = &pA[j]; in arm_mat_solve_upper_triangular_f64()
125 tmp -= ut_row[k] * pX[cols*k+j]; in arm_mat_solve_upper_triangular_f64()
133 pX[i*cols+j] = tmp; in arm_mat_solve_upper_triangular_f64()
170 int i,j,k,n,cols; in arm_mat_solve_upper_triangular_f64() local
[all …]
Darm_mat_qr_f16.c112 int32_t j,k,blkCnt,blkCnt2; in arm_mat_qr_f16() local
265 for(j=0;j<pSrc->numRows-col; j++) in arm_mat_qr_f16()
267 float16_t f = -(_Float16)beta * (_Float16)pTmpA[j]; in arm_mat_qr_f16()
329 int32_t j,k, blkCnt, blkCnt2; in arm_mat_qr_f16() local
488 for(j=0;j<pOutQ->numRows-pos; j++) in arm_mat_qr_f16()
490 float16_t f = -(_Float16)beta * (_Float16)pTmpA[j]; in arm_mat_qr_f16()
576 int32_t i,j,k,blkCnt; in arm_mat_qr_f16() local
588 for(j=0;j<pSrc->numCols-col; j++) in arm_mat_qr_f16()
608 for(j=0;j<pSrc->numCols-col; j++) in arm_mat_qr_f16()
632 for(j=0;j<pSrc->numCols-col; j++) in arm_mat_qr_f16()
[all …]
Darm_mat_qr_f32.c185 int32_t j,k,blkCnt,blkCnt2; in arm_mat_qr_f32() local
338 for(j=0;j<pSrc->numRows-col; j++) in arm_mat_qr_f32()
340 float32_t f = -beta * pTmpA[j]; in arm_mat_qr_f32()
402 int32_t j,k, blkCnt, blkCnt2; in arm_mat_qr_f32() local
561 for(j=0;j<pOutQ->numRows-pos; j++) in arm_mat_qr_f32()
563 float32_t f = -beta * pTmpA[j]; in arm_mat_qr_f32()
647 int32_t i,j,k,blkCnt; in arm_mat_qr_f32() local
659 for(j=0;j<pSrc->numCols-col; j++) in arm_mat_qr_f32()
679 for(j=0;j<pSrc->numCols-col; j++) in arm_mat_qr_f32()
703 for(j=0;j<pSrc->numCols-col; j++) in arm_mat_qr_f32()
[all …]
/cmsis-dsp-3.5.0/Source/FilteringFunctions/
Darm_levinson_durbin_f32.c85 int nb,j,i; in arm_levinson_durbin_f32() local
145 j=0; in arm_levinson_durbin_f32()
176 j+=2; in arm_levinson_durbin_f32()
185 x = a[j] - k * a[p-1-j]; in arm_levinson_durbin_f32()
186 y = a[p-1-j] - k * a[j]; in arm_levinson_durbin_f32()
188 a[j] = x; in arm_levinson_durbin_f32()
189 a[p-1-j] = y; in arm_levinson_durbin_f32()
191 a[j+1] = a[j+1] - k * a[p-1-(j+1)]; in arm_levinson_durbin_f32()
198 x = a[j] - k * a[p-1-j]; in arm_levinson_durbin_f32()
199 y = a[p-1-j] - k * a[j]; in arm_levinson_durbin_f32()
[all …]
Darm_levinson_durbin_q31.c148 int nb,j,i; in arm_levinson_durbin_q31() local
210 j=0; in arm_levinson_durbin_q31()
245 j+=2; in arm_levinson_durbin_q31()
255 x = a[j] - mul32x32(k,a[p-1-j]); in arm_levinson_durbin_q31()
258 y = a[p-1-j] - mul32x32(k , a[j]); in arm_levinson_durbin_q31()
260 a[j] = x; in arm_levinson_durbin_q31()
261 a[p-1-j] = y; in arm_levinson_durbin_q31()
264 a[j+1] = a[j+1] - mul32x32(k,a[p-2-j]); in arm_levinson_durbin_q31()
273 x = a[j] - mul32x32(k,a[p-1-j]); in arm_levinson_durbin_q31()
276 y = a[p-1-j] - mul32x32(k , a[j]); in arm_levinson_durbin_q31()
[all …]
Darm_levinson_durbin_f16.c82 int nb,j,i; in arm_levinson_durbin_f16() local
142 j=0; in arm_levinson_durbin_f16()
173 j+=4; in arm_levinson_durbin_f16()
186 x=(_Float16)a[j] - (_Float16)k * (_Float16)a[p-1-j]; in arm_levinson_durbin_f16()
187 y=(_Float16)a[p-1-j] - (_Float16)k * (_Float16)a[j]; in arm_levinson_durbin_f16()
189 a[j] = x; in arm_levinson_durbin_f16()
190 a[p-1-j] = y; in arm_levinson_durbin_f16()
192 j++; in arm_levinson_durbin_f16()
198 a[j]=(_Float16)a[j]- (_Float16)k * (_Float16)a[p-1-j]; in arm_levinson_durbin_f16()
230 int nb,j; in arm_levinson_durbin_f16() local
[all …]
Darm_correlate_q31.c81 int32_t i = 0U, j = 0; /* loop counters */ in arm_correlate_q31() local
93 j = srcALen - srcBLen; in arm_correlate_q31()
97 pDst += j; in arm_correlate_q31()
116 j = srcALen; in arm_correlate_q31()
118 srcBLen = j; in arm_correlate_q31()
278 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_correlate_q31() local
315 j = outBlockSize - (srcALen + (srcBLen - 1U)); in arm_correlate_q31()
318 pOut += j; in arm_correlate_q31()
329 j = srcBLen; in arm_correlate_q31()
331 srcALen = j; in arm_correlate_q31()
[all …]
Darm_correlate_q15.c81 int32_t i = 0U, j = 0; /* loop counters */ in arm_correlate_q15() local
93 j = srcALen - srcBLen; in arm_correlate_q15()
97 pDst += j; in arm_correlate_q15()
116 j = srcALen; in arm_correlate_q15()
118 srcBLen = j; in arm_correlate_q15()
287 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_correlate_q15() local
319 j = outBlockSize - (srcALen + (srcBLen - 1U)); in arm_correlate_q15()
322 pOut += j; in arm_correlate_q15()
333 j = srcBLen; in arm_correlate_q15()
335 srcALen = j; in arm_correlate_q15()
[all …]
/cmsis-dsp-3.5.0/Testing/PatternGeneration/
DTools.py1044 def writeReference(self,j,data,name=None): argument
1046 self._writeVectorF64(self.refP(j,name),data)
1048 self._writeVectorF32(self.refP(j,name),data)
1050 self._writeVectorF16(self.refP(j,name),data)
1052 self._writeVectorQ63(self.refP(j,name),data)
1054 self._writeVectorQ31(self.refP(j,name),data)
1056 self._writeVectorQ15(self.refP(j,name),data)
1058 self._writeVectorQ7(self.refP(j,name),data)
1060 self._writeVectorS64(self.refP(j,name),data)
1062 self._writeVectorU64(self.refP(j,name),data)
[all …]
DTransform.py36 def writeFFTForSignal(config,sig,scaling,i,j,nb,signame): argument
40 fft = np.array([x/2**scaling[j] for x in fft])
45 def writeRFFTForSignal(config,sig,scaling,i,j,nb,signame): argument
59 rfft = np.array([x/2**scaling[j] for x in rfft])
76 j = 0
81 writeFFTForSignal(config,sigc,scaling,i,j,nb,"Noisy")
82 writeRFFTForSignal(config,sig,scaling,i,j,nb,"Noisy")
84 j = j + 1
87 j = 0
92 writeFFTForSignal(config,sigc,scaling,i,j,nb,"Step")
[all …]
/cmsis-dsp-3.5.0/Source/SupportFunctions/
Darm_insertion_sort_f32.c66 uint32_t i, j; in arm_insertion_sort_f32() local
81 for (j = i; j>0 && dir==(pA[j]<pA[j-1]); j--) in arm_insertion_sort_f32()
84 temp = pA[j]; in arm_insertion_sort_f32()
85 pA[j] = pA[j-1]; in arm_insertion_sort_f32()
86 pA[j-1] = temp; in arm_insertion_sort_f32()
Darm_quick_sort_f32.c34 int32_t i, j, pivot_index; in arm_quick_sort_partition_f32() local
44 j = last + 1; in arm_quick_sort_partition_f32()
46 while(i < j) in arm_quick_sort_partition_f32()
72 j--; in arm_quick_sort_partition_f32()
73 } while (pSrc[j] > pivot); in arm_quick_sort_partition_f32()
86 j--; in arm_quick_sort_partition_f32()
87 } while (pSrc[j] < pivot); in arm_quick_sort_partition_f32()
91 if (i < j) in arm_quick_sort_partition_f32()
95 pSrc[i]=pSrc[j]; in arm_quick_sort_partition_f32()
96 pSrc[j]=temp; in arm_quick_sort_partition_f32()
[all …]
/cmsis-dsp-3.5.0/Include/dsp/
Dmatrix_utils.h74 #define SWAP_ROWS_F16(A,COL,i,j) \ argument
87 tmpb=vldrhq_z_f16(&data[j*_numCols + _w],p0);\
90 vstrhq_p(&data[j*_numCols + _w], tmpa, p0); \
115 #define MAC_ROW_F16(COL,A,i,v,B,j) \ argument
128 tmpb = vldrhq_z_f16(&dataB[j*_numCols + _w],p0);\
136 #define MAS_ROW_F16(COL,A,i,v,B,j) \ argument
150 tmpb = vldrhq_z_f16(&dataB[j*_numCols + _w],p0);\
161 #define SWAP_ROWS_F16(A,COL,i,j) \
170 dataJ += j*_numCols + (COL); \
197 #define MAC_ROW_F16(COL,A,i,v,B,j) \
[all …]

12345