Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 103) sorted by relevance

12345

/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/PrivateInclude/
Darm_vec_filtering.h42 uint32_t k; \
50 k = count >> 2; \
52 while (k > 0U) \
66 k--; \
69 k = count % 0x4U; \
70 if (k > 0U) \
72 mve_pred16_t p0 = vctp32q(k); \
96 uint32_t k; \
101 k = count >> 2; \
103 while (k > 0U) \
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dmatrix.c238 int8 k; in fEigenCompute10() local
321 for (k = 0; k < n; k++) in fEigenCompute10()
324 ftmp = eigvec[k][i]; in fEigenCompute10()
327 eigvec[k][i] = ftmp - sinphi * (eigvec[k][j] + tanhalfphi * ftmp); in fEigenCompute10()
330 … eigvec[k][j] = eigvec[k][j] + sinphi * (ftmp - tanhalfphi * eigvec[k][j]); in fEigenCompute10()
334 for (k = 0; k <= i - 1; k++) in fEigenCompute10()
337 ftmp = A[k][i]; in fEigenCompute10()
340 A[k][i] = ftmp - sinphi * (A[k][j] + tanhalfphi * ftmp); in fEigenCompute10()
343 A[k][j] = A[k][j] + sinphi * (ftmp - tanhalfphi * A[k][j]); in fEigenCompute10()
346 for (k = i + 1; k <= j - 1; k++) in fEigenCompute10()
[all …]
Dmagnetic.c100 k, in iUpdateMagBuffer() local
113 j = k = 0; in iUpdateMagBuffer()
116 while ((k < (MAGBUFFSIZEX - 1) && (itank >= pthisMagBuffer->tanarray[k]))) in iUpdateMagBuffer()
117 k++; in iUpdateMagBuffer()
118 if (pthisMag->iBc[CHX] < 0) k += MAGBUFFSIZEX; in iUpdateMagBuffer()
123 (pthisMagBuffer->index[j][k] != -1)) in iUpdateMagBuffer()
128 pthisMagBuffer->iBs[i][j][k] = pthisMag->iBs[i]; in iUpdateMagBuffer()
131 pthisMagBuffer->index[j][k] = loopcounter; in iUpdateMagBuffer()
138 (pthisMagBuffer->index[j][k] == -1)) in iUpdateMagBuffer()
143 pthisMagBuffer->iBs[i][j][k] = pthisMag->iBs[i]; in iUpdateMagBuffer()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_ldlt_f32.c119 int fullRank = 1, diag,k; in arm_mat_ldlt_f32() local
128 for(int k=0;k < n; k+=8) in arm_mat_ldlt_f32() local
133 vecP = vidupq_u16((uint16_t)k, 1); in arm_mat_ldlt_f32()
135 vstrhq_p(&pp[k], vecP, p0); in arm_mat_ldlt_f32()
141 for(k=0;k < n; k++) in arm_mat_ldlt_f32()
145 int j=k; in arm_mat_ldlt_f32()
148 for(int r=k;r<n;r++) in arm_mat_ldlt_f32()
157 if(j != k) in arm_mat_ldlt_f32()
159 SWAP_ROWS_F32(pA,k,j); in arm_mat_ldlt_f32()
160 SWAP_COLS_F32(pA,k,j); in arm_mat_ldlt_f32()
[all …]
Darm_mat_ldlt_f64.c105 int fullRank = 1, diag,k; in arm_mat_ldlt_f64() local
111 for(int k=0;k < n; k++) in arm_mat_ldlt_f64() local
113 pp[k] = k; in arm_mat_ldlt_f64()
117 for(k=0;k < n; k++) in arm_mat_ldlt_f64()
121 int j=k; in arm_mat_ldlt_f64()
124 for(int r=k;r<n;r++) in arm_mat_ldlt_f64()
133 if(j != k) in arm_mat_ldlt_f64()
135 SWAP_ROWS_F64(pA,k,j); in arm_mat_ldlt_f64()
136 SWAP_COLS_F64(pA,k,j); in arm_mat_ldlt_f64()
140 pp[k] = j; in arm_mat_ldlt_f64()
[all …]
Darm_mat_cholesky_f32.c91 int i,j,k; in arm_mat_cholesky_f32() local
122 for(k=0; k < i ; k+=4) in arm_mat_cholesky_f32()
126 vecGi=vldrwq_z_f32(&pG[i * n + k],p0); in arm_mat_cholesky_f32()
128 vecGj0=vldrwq_z_f32(&pG[(j + 0) * n + k],p0); in arm_mat_cholesky_f32()
129 vecGj1=vldrwq_z_f32(&pG[(j + 1) * n + k],p0); in arm_mat_cholesky_f32()
130 vecGj2=vldrwq_z_f32(&pG[(j + 2) * n + k],p0); in arm_mat_cholesky_f32()
131 vecGj3=vldrwq_z_f32(&pG[(j + 3) * n + k],p0); in arm_mat_cholesky_f32()
153 for(k=0; k < i ; k+=4) in arm_mat_cholesky_f32()
157 vecGi=vldrwq_z_f32(&pG[i * n + k],p0); in arm_mat_cholesky_f32()
158 vecGj=vldrwq_z_f32(&pG[j * n + k],p0); in arm_mat_cholesky_f32()
[all …]
Darm_mat_solve_upper_triangular_f32.c78 int i,j,k,n; in arm_mat_solve_upper_triangular_f32() local
100 for(k=n-1; k > i; k--) in arm_mat_solve_upper_triangular_f32()
102 vecX = vld1q_f32(&pX[n*k+j]); in arm_mat_solve_upper_triangular_f32()
103 vecA = vfmsq(vecA,vdupq_n_f32(pUT[n*i + k]),vecX); in arm_mat_solve_upper_triangular_f32()
126 for(k=n-1; k > i; k--) in arm_mat_solve_upper_triangular_f32()
128 tmp -= ut_row[k] * pX[n*k+j]; in arm_mat_solve_upper_triangular_f32()
175 int i,j,k,n; in arm_mat_solve_upper_triangular_f32() local
197 for(k=n-1; k > i; k--) in arm_mat_solve_upper_triangular_f32()
199 vecX = vld1q_f32(&pX[n*k+j]); in arm_mat_solve_upper_triangular_f32()
200 vecA = vfmsq_f32(vecA,vdupq_n_f32(pUT[n*i + k]),vecX); in arm_mat_solve_upper_triangular_f32()
[all …]
Darm_mat_solve_lower_triangular_f32.c85 int i,j,k,n; in arm_mat_solve_lower_triangular_f32() local
108 for(k=0; k < i; k++) in arm_mat_solve_lower_triangular_f32()
110 vecX = vld1q_f32(&pX[n*k+j]); in arm_mat_solve_lower_triangular_f32()
111 vecA = vfmsq(vecA,vdupq_n_f32(pLT[n*i + k]),vecX); in arm_mat_solve_lower_triangular_f32()
132 for(k=0; k < i; k++) in arm_mat_solve_lower_triangular_f32()
134 tmp -= lt_row[k] * pX[n*k+j]; in arm_mat_solve_lower_triangular_f32()
186 int i,j,k,n; in arm_mat_solve_lower_triangular_f32() local
209 for(k=0; k < i; k++) in arm_mat_solve_lower_triangular_f32()
211 vecX = vld1q_f32(&pX[n*k+j]); in arm_mat_solve_lower_triangular_f32()
212 vecA = vfmsq_f32(vecA,vdupq_n_f32(pLT[n*i + k]),vecX); in arm_mat_solve_lower_triangular_f32()
[all …]
Darm_mat_cholesky_f16.c83 int i,j,k; in arm_mat_cholesky_f16() local
116 for(k=0; k < i ; k+=8) in arm_mat_cholesky_f16()
120 vecGi=vldrhq_z_f16(&pG[i * n + k],p0); in arm_mat_cholesky_f16()
122 vecGj0=vldrhq_z_f16(&pG[(j + 0) * n + k],p0); in arm_mat_cholesky_f16()
123 vecGj1=vldrhq_z_f16(&pG[(j + 1) * n + k],p0); in arm_mat_cholesky_f16()
124 vecGj2=vldrhq_z_f16(&pG[(j + 2) * n + k],p0); in arm_mat_cholesky_f16()
125 vecGj3=vldrhq_z_f16(&pG[(j + 3) * n + k],p0); in arm_mat_cholesky_f16()
147 for(k=0; k < i ; k+=8) in arm_mat_cholesky_f16()
151 vecGi=vldrhq_z_f16(&pG[i * n + k],p0); in arm_mat_cholesky_f16()
152 vecGj=vldrhq_z_f16(&pG[j * n + k],p0); in arm_mat_cholesky_f16()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/FilteringFunctions/
Darm_correlate_f16.c106 … uint32_t k; \
112k = count >> 3; \
113 … while (k > 0U) \
121k--; \
123k = count % 0x8U; \
127 mve_pred16_t p0 = vctp16q(k+1); \
133 p0 = vctp16q(k); \
145 … uint16_t k; \
150k = count >> 3; \
152 … while (k > 0U) \
[all …]
Darm_conv_fast_q15.c79 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_conv_fast_q15() local
158 k = count; in arm_conv_fast_q15()
160 while (k > 0U) in arm_conv_fast_q15()
166 k--; in arm_conv_fast_q15()
195 k = count >> 2U; in arm_conv_fast_q15()
199 while (k > 0U) in arm_conv_fast_q15()
208 k--; in arm_conv_fast_q15()
217 k = count % 0x4U; in arm_conv_fast_q15()
219 while (k > 0U) in arm_conv_fast_q15()
225 k--; in arm_conv_fast_q15()
[all …]
Darm_conv_f32.c264 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_conv_f32() local
353 k = count >> 2U; in arm_conv_f32()
360 k = count >> 2U; in arm_conv_f32()
365 while (k > 0U) in arm_conv_f32()
379 k--; in arm_conv_f32()
387 k = count & 3; in arm_conv_f32()
389 while (k > 0U) in arm_conv_f32()
404 k--; in arm_conv_f32()
408 k = count % 0x4U; in arm_conv_f32()
414 k = count; in arm_conv_f32()
[all …]
Darm_conv_partial_f32.c97 uint32_t j, k, count, blkCnt, check; in arm_conv_partial_f32() local
198 k = count >> 2U; in arm_conv_partial_f32()
200 while (k > 0U) in arm_conv_partial_f32()
215 k--; in arm_conv_partial_f32()
219 k = count % 0x4U; in arm_conv_partial_f32()
224 k = count; in arm_conv_partial_f32()
228 while (k > 0U) in arm_conv_partial_f32()
234 k--; in arm_conv_partial_f32()
307 k = srcBLen >> 2U; in arm_conv_partial_f32()
373 } while (--k); in arm_conv_partial_f32()
[all …]
Darm_conv_partial_q31.c76 uint32_t j, k, count, blkCnt, check; in arm_conv_partial_q31() local
177 k = count >> 2U; in arm_conv_partial_q31()
179 while (k > 0U) in arm_conv_partial_q31()
194 k--; in arm_conv_partial_q31()
198 k = count % 0x4U; in arm_conv_partial_q31()
203 k = count; in arm_conv_partial_q31()
207 while (k > 0U) in arm_conv_partial_q31()
213 k--; in arm_conv_partial_q31()
284 k = srcBLen / 3; in arm_conv_partial_q31()
337 } while (--k); in arm_conv_partial_q31()
[all …]
Darm_conv_partial_fast_q15.c73 uint32_t j, k, count, blkCnt, check; in arm_conv_partial_fast_q15() local
172 k = count; in arm_conv_partial_fast_q15()
174 while (k > 0U) in arm_conv_partial_fast_q15()
180 k--; in arm_conv_partial_fast_q15()
209 k = count >> 2U; in arm_conv_partial_fast_q15()
213 while (k > 0U) in arm_conv_partial_fast_q15()
222 k--; in arm_conv_partial_fast_q15()
231 k = count % 0x4U; in arm_conv_partial_fast_q15()
233 while (k > 0U) in arm_conv_partial_fast_q15()
239 k--; in arm_conv_partial_fast_q15()
[all …]
Darm_correlate_f32.c319 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_correlate_f32() local
432 k = count >> 2U; in arm_correlate_f32()
439 while (k > 0U) in arm_correlate_f32()
450 k--; in arm_correlate_f32()
456 k = count & 0x3; in arm_correlate_f32()
460 while (k > 0U) in arm_correlate_f32()
475 k--; in arm_correlate_f32()
479 k = count % 0x4U; in arm_correlate_f32()
485 k = count; in arm_correlate_f32()
489 while (k > 0U) in arm_correlate_f32()
[all …]
Darm_conv_partial_q15.c80 uint32_t j, k, count, blkCnt, check; in arm_conv_partial_q15() local
178 k = count; in arm_conv_partial_q15()
180 while (k > 0U) in arm_conv_partial_q15()
186 k--; in arm_conv_partial_q15()
215 k = count >> 2U; in arm_conv_partial_q15()
219 while (k > 0U) in arm_conv_partial_q15()
228 k--; in arm_conv_partial_q15()
237 k = count % 0x4U; in arm_conv_partial_q15()
239 while (k > 0U) in arm_conv_partial_q15()
245 k--; in arm_conv_partial_q15()
[all …]
Darm_conv_partial_fast_q31.c73 uint32_t j, k, count, check, blkCnt; in arm_conv_partial_fast_q31() local
174 k = count >> 2U; in arm_conv_partial_fast_q31()
176 while (k > 0U) in arm_conv_partial_fast_q31()
195 k--; in arm_conv_partial_fast_q31()
199 k = count % 0x4U; in arm_conv_partial_fast_q31()
204 k = count; in arm_conv_partial_fast_q31()
208 while (k > 0U) in arm_conv_partial_fast_q31()
215 k--; in arm_conv_partial_fast_q31()
288 k = srcBLen >> 2U; in arm_conv_partial_fast_q31()
354 } while (--k); in arm_conv_partial_fast_q31()
[all …]
Darm_correlate_fast_q15.c79 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_correlate_fast_q15() local
186 k = count >> 2U; in arm_correlate_fast_q15()
190 while (k > 0U) in arm_correlate_fast_q15()
198 k--; in arm_correlate_fast_q15()
203 k = count % 0x4U; in arm_correlate_fast_q15()
205 while (k > 0U) in arm_correlate_fast_q15()
212 k--; in arm_correlate_fast_q15()
277 k = srcBLen >> 2U; in arm_correlate_fast_q15()
327 } while (--k); in arm_correlate_fast_q15()
334 k = srcBLen % 0x4U; in arm_correlate_fast_q15()
[all …]
Darm_conv_fast_q31.c79 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_conv_fast_q31() local
153 k = count >> 2U; in arm_conv_fast_q31()
157 while (k > 0U) in arm_conv_fast_q31()
176 k--; in arm_conv_fast_q31()
181 k = count % 0x4U; in arm_conv_fast_q31()
183 while (k > 0U) in arm_conv_fast_q31()
190 k--; in arm_conv_fast_q31()
253 k = srcBLen >> 2U; in arm_conv_fast_q31()
323 } while (--k); in arm_conv_fast_q31()
327 k = srcBLen % 0x4U; in arm_conv_fast_q31()
[all …]
Darm_correlate_fast_q31.c81 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_correlate_fast_q31() local
177 k = count >> 2U; in arm_correlate_fast_q31()
181 while (k > 0U) in arm_correlate_fast_q31()
200 k--; in arm_correlate_fast_q31()
205 k = count % 0x4U; in arm_correlate_fast_q31()
207 while (k > 0U) in arm_correlate_fast_q31()
215 k--; in arm_correlate_fast_q31()
279 k = srcBLen >> 2U; in arm_correlate_fast_q31()
349 } while (--k); in arm_correlate_fast_q31()
353 k = srcBLen % 0x4U; in arm_correlate_fast_q31()
[all …]
Darm_conv_q31.c245 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_conv_q31() local
326 k = count >> 2U; in arm_conv_q31()
328 while (k > 0U) in arm_conv_q31()
343 k--; in arm_conv_q31()
347 k = count % 0x4U; in arm_conv_q31()
352 k = count; in arm_conv_q31()
356 while (k > 0U) in arm_conv_q31()
362 k--; in arm_conv_q31()
425 k = srcBLen / 3; in arm_conv_q31()
474 } while (--k); in arm_conv_q31()
[all …]
Darm_conv_q15.c242 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_conv_q15() local
319 k = count; in arm_conv_q15()
321 while (k > 0U) in arm_conv_q15()
327 k--; in arm_conv_q15()
356 k = count >> 2U; in arm_conv_q15()
360 while (k > 0U) in arm_conv_q15()
369 k--; in arm_conv_q15()
378 k = count % 0x4U; in arm_conv_q15()
380 while (k > 0U) in arm_conv_q15()
386 k--; in arm_conv_q15()
[all …]
Darm_conv_partial_q7.c76 uint32_t j, k, count, blkCnt, check; /* Loop counters */ in arm_conv_partial_q7() local
179 k = count >> 2U; in arm_conv_partial_q7()
181 while (k > 0U) in arm_conv_partial_q7()
212 k--; in arm_conv_partial_q7()
216 k = count % 0x4U; in arm_conv_partial_q7()
221 k = count; in arm_conv_partial_q7()
225 while (k > 0U) in arm_conv_partial_q7()
231 k--; in arm_conv_partial_q7()
304 k = srcBLen >> 2U; in arm_conv_partial_q7()
416 } while (--k); in arm_conv_partial_q7()
[all …]
Darm_correlate_q31.c278 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_correlate_q31() local
390 k = count >> 2U; in arm_correlate_q31()
392 while (k > 0U) in arm_correlate_q31()
407 k--; in arm_correlate_q31()
411 k = count % 0x4U; in arm_correlate_q31()
416 k = count; in arm_correlate_q31()
420 while (k > 0U) in arm_correlate_q31()
427 k--; in arm_correlate_q31()
491 k = srcBLen / 3; in arm_correlate_q31()
540 } while (--k); in arm_correlate_q31()
[all …]

12345