Home
last modified time | relevance | path

Searched refs:numRows (Results 1 – 25 of 77) sorted by relevance

1234

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/powerquad/
Dfsl_powerquad_cmsis.c1017 S->numRows = nRows; in arm_mat_init_f32()
1029 S->numRows = nRows; in arm_mat_init_q31()
1041 S->numRows = nRows; in arm_mat_init_q15()
1063 …if ((pSrcA->numRows != pSrcB->numRows) || (pSrcA->numCols != pSrcB->numCols) || (pSrcA->numRows !=… in arm_mat_add_f32()
1074 length = POWERQUAD_MAKE_MATRIX_LEN(pSrcA->numRows, pSrcA->numCols, pSrcB->numCols); in arm_mat_add_f32()
1101 …if ((pSrcA->numRows != pSrcB->numRows) || (pSrcA->numCols != pSrcB->numCols) || (pSrcA->numRows !=… in arm_mat_add_q31()
1112 length = POWERQUAD_MAKE_MATRIX_LEN(pSrcA->numRows, pSrcA->numCols, pSrcB->numCols); in arm_mat_add_q31()
1139 …if ((pSrcA->numRows != pSrcB->numRows) || (pSrcA->numCols != pSrcB->numCols) || (pSrcA->numRows !=… in arm_mat_add_q15()
1150 length = POWERQUAD_MAKE_MATRIX_LEN(pSrcA->numRows, pSrcA->numCols, pSrcB->numCols); in arm_mat_add_q15()
1177 …if ((pSrcA->numRows != pSrcB->numRows) || (pSrcA->numCols != pSrcB->numCols) || (pSrcA->numRows !=… in arm_mat_sub_f32()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_inverse_f32.c83 uint32_t numRows = pSrc->numRows; /* Number of rows in the matrix */ in arm_mat_inverse_f32() local
94 if ((pSrc->numRows != pSrc->numCols) || (pDst->numRows != pDst->numCols) in arm_mat_inverse_f32()
95 || (pSrc->numRows != pDst->numRows)) in arm_mat_inverse_f32()
146 rowCnt = numRows; in arm_mat_inverse_f32()
155 j = numRows - rowCnt; in arm_mat_inverse_f32()
222 for (i = 1U; i < numRows-l; i++) in arm_mat_inverse_f32()
420 for (i = 0U; i < numRows; i++) in arm_mat_inverse_f32()
555 for (i = 0; i < numRows * numCols; i++) in arm_mat_inverse_f32()
561 if (i == numRows * numCols) in arm_mat_inverse_f32()
580 uint32_t numRows = pSrc->numRows; /* Number of rows in the matrix */ in arm_mat_inverse_f32() local
[all …]
Darm_mat_inverse_f64.c60 uint32_t numRows = pSrc->numRows; /* Number of rows in the matrix */ local
72 if ((pSrc->numRows != pSrc->numCols) ||
73 (pDst->numRows != pDst->numCols) ||
74 (pSrc->numRows != pDst->numRows) )
124 rowCnt = numRows;
130 j = numRows - rowCnt;
184 for (i = 1U; i < numRows - l; i++)
293 k = numRows;
377 if ((pSrc->numRows != pSrc->numCols) ||
378 (pDst->numRows != pDst->numCols) ||
[all …]
Darm_mat_sub_f32.c82 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_sub_f32()
84 (pSrcA->numRows != pDst->numRows) || (pSrcA->numCols != pDst->numCols)) in arm_mat_sub_f32()
95 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_f32()
151 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_sub_f32()
153 (pSrcA->numRows != pDst->numRows) || (pSrcA->numCols != pDst->numCols)) in arm_mat_sub_f32()
166 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_f32()
230 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_sub_f32()
232 (pSrcA->numRows != pDst->numRows) || in arm_mat_sub_f32()
244 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_f32()
Darm_mat_add_f32.c84 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_add_f32()
86 (pSrcA->numRows != pDst->numRows) || (pSrcA->numCols != pDst->numCols)) in arm_mat_add_f32()
97 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_f32()
157 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_add_f32()
159 (pSrcA->numRows != pDst->numRows) || (pSrcA->numCols != pDst->numCols)) in arm_mat_add_f32()
172 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_f32()
233 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_add_f32()
235 (pSrcA->numRows != pDst->numRows) || in arm_mat_add_f32()
247 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_f32()
Darm_mat_inverse_f16.c65 uint32_t numRows = pSrc->numRows; /* Number of rows in the matrix */ in arm_mat_inverse_f16() local
76 if ((pSrc->numRows != pSrc->numCols) || (pDst->numRows != pDst->numCols) in arm_mat_inverse_f16()
77 || (pSrc->numRows != pDst->numRows)) in arm_mat_inverse_f16()
128 rowCnt = numRows; in arm_mat_inverse_f16()
137 j = numRows - rowCnt; in arm_mat_inverse_f16()
204 for (i = 1U; i < numRows-l; i++) in arm_mat_inverse_f16()
402 for (i = 0U; i < numRows; i++) in arm_mat_inverse_f16()
537 for (i = 0; i < numRows * numCols; i++) in arm_mat_inverse_f16()
543 if (i == numRows * numCols) in arm_mat_inverse_f16()
562 uint32_t numRows = pSrc->numRows; /* Number of rows in the matrix */ in arm_mat_inverse_f16() local
[all …]
Darm_mat_solve_upper_triangular_f32.c65 if ((ut->numRows != ut->numCols) || in arm_mat_solve_upper_triangular_f32()
66 (a->numRows != a->numCols) || in arm_mat_solve_upper_triangular_f32()
67 (ut->numRows != a->numRows) ) in arm_mat_solve_upper_triangular_f32()
80 n = dst->numRows; in arm_mat_solve_upper_triangular_f32()
162 if ((ut->numRows != ut->numCols) || in arm_mat_solve_upper_triangular_f32()
163 (a->numRows != a->numCols) || in arm_mat_solve_upper_triangular_f32()
164 (ut->numRows != a->numRows) ) in arm_mat_solve_upper_triangular_f32()
177 n = dst->numRows; in arm_mat_solve_upper_triangular_f32()
258 if ((ut->numRows != ut->numCols) || in arm_mat_solve_upper_triangular_f32()
259 (a->numRows != a->numCols) || in arm_mat_solve_upper_triangular_f32()
[all …]
Darm_mat_solve_lower_triangular_f32.c65 if ((lt->numRows != lt->numCols) || in arm_mat_solve_lower_triangular_f32()
66 (a->numRows != a->numCols) || in arm_mat_solve_lower_triangular_f32()
67 (lt->numRows != a->numRows) ) in arm_mat_solve_lower_triangular_f32()
87 n = dst->numRows; in arm_mat_solve_lower_triangular_f32()
166 if ((lt->numRows != lt->numCols) || in arm_mat_solve_lower_triangular_f32()
167 (a->numRows != a->numCols) || in arm_mat_solve_lower_triangular_f32()
168 (lt->numRows != a->numRows) ) in arm_mat_solve_lower_triangular_f32()
188 n = dst->numRows; in arm_mat_solve_lower_triangular_f32()
265 if ((lt->numRows != lt->numCols) || in arm_mat_solve_lower_triangular_f32()
266 (a->numRows != a->numCols) || in arm_mat_solve_lower_triangular_f32()
[all …]
Darm_mat_sub_f16.c76 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_sub_f16()
78 (pSrcA->numRows != pDst->numRows) || (pSrcA->numCols != pDst->numCols)) in arm_mat_sub_f16()
89 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_f16()
145 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_sub_f16()
147 (pSrcA->numRows != pDst->numRows) || in arm_mat_sub_f16()
159 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_f16()
Darm_mat_add_f16.c78 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_add_f16()
80 (pSrcA->numRows != pDst->numRows) || (pSrcA->numCols != pDst->numCols)) in arm_mat_add_f16()
91 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_f16()
144 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_add_f16()
146 (pSrcA->numRows != pDst->numRows) || in arm_mat_add_f16()
158 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_f16()
Darm_mat_add_q31.c76 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_add_q31()
78 (pSrcA->numRows != pDst->numRows) || in arm_mat_add_q31()
90 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_q31()
146 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_add_q31()
148 (pSrcA->numRows != pDst->numRows) || in arm_mat_add_q31()
160 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_q31()
Darm_mat_sub_q31.c76 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_sub_q31()
78 (pSrcA->numRows != pDst->numRows) || in arm_mat_sub_q31()
92 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_q31()
148 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_sub_q31()
150 (pSrcA->numRows != pDst->numRows) || in arm_mat_sub_q31()
162 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_q31()
Darm_mat_sub_q15.c78 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_sub_q15()
80 (pSrcA->numRows != pDst->numRows) || in arm_mat_sub_q15()
93 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_q15()
144 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_sub_q15()
146 (pSrcA->numRows != pDst->numRows) || in arm_mat_sub_q15()
157 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_q15()
Darm_mat_add_q15.c77 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_add_q15()
79 (pSrcA->numRows != pDst->numRows) || in arm_mat_add_q15()
94 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_q15()
147 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_add_q15()
149 (pSrcA->numRows != pDst->numRows) || in arm_mat_add_q15()
161 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_q15()
Darm_mat_solve_lower_triangular_f16.c66 if ((lt->numRows != lt->numCols) || in arm_mat_solve_lower_triangular_f16()
67 (a->numRows != a->numCols) || in arm_mat_solve_lower_triangular_f16()
68 (lt->numRows != a->numRows) ) in arm_mat_solve_lower_triangular_f16()
88 n = dst->numRows; in arm_mat_solve_lower_triangular_f16()
167 if ((lt->numRows != lt->numCols) || in arm_mat_solve_lower_triangular_f16()
168 (a->numRows != a->numCols) || in arm_mat_solve_lower_triangular_f16()
169 (lt->numRows != a->numRows) ) in arm_mat_solve_lower_triangular_f16()
189 n = dst->numRows; in arm_mat_solve_lower_triangular_f16()
Darm_mat_solve_upper_triangular_f16.c68 if ((ut->numRows != ut->numCols) || in arm_mat_solve_upper_triangular_f16()
69 (a->numRows != a->numCols) || in arm_mat_solve_upper_triangular_f16()
70 (ut->numRows != a->numRows) ) in arm_mat_solve_upper_triangular_f16()
83 n = dst->numRows; in arm_mat_solve_upper_triangular_f16()
164 if ((ut->numRows != ut->numCols) || in arm_mat_solve_upper_triangular_f16()
165 (a->numRows != a->numCols) || in arm_mat_solve_upper_triangular_f16()
166 (ut->numRows != a->numRows) ) in arm_mat_solve_upper_triangular_f16()
179 n = dst->numRows; in arm_mat_solve_upper_triangular_f16()
Darm_mat_scale_f32.c76 if ((pSrc->numRows != pDst->numRows) || (pSrc->numCols != pDst->numCols)) in arm_mat_scale_f32()
95 numSamples = (uint32_t) pSrc->numRows * pSrc->numCols; in arm_mat_scale_f32()
151 if ((pSrc->numRows != pDst->numRows) || (pSrc->numCols != pDst->numCols)) in arm_mat_scale_f32()
163 numSamples = (uint32_t) pSrc->numRows * pSrc->numCols; in arm_mat_scale_f32()
221 if ((pSrc->numRows != pDst->numRows) || in arm_mat_scale_f32()
233 numSamples = (uint32_t) pSrc->numRows * pSrc->numCols; in arm_mat_scale_f32()
Darm_mat_trans_q7.c64 if ((pSrc->numRows != pDst->numCols) || (pSrc->numCols != pDst->numRows)) in arm_mat_trans_q7()
80 blkCnt = pSrc->numRows >> 3; in arm_mat_trans_q7()
98 blkCnt = pSrc->numRows & 7; in arm_mat_trans_q7()
106 pDataDst += pSrc->numRows; in arm_mat_trans_q7()
117 uint16_t nRows = pSrc->numRows; /* number of nRows */ in arm_mat_trans_q7()
125 if ((pSrc->numRows != pDst->numCols) || (pSrc->numCols != pDst->numRows)) { in arm_mat_trans_q7()
Darm_mat_trans_f32.c70 if ((pSrc->numRows != pDst->numCols) || (pSrc->numCols != pDst->numRows)) in arm_mat_trans_f32()
78 if (pDst->numRows == pDst->numCols) in arm_mat_trans_f32()
88 …arm_mat_trans_32bit_generic_mve(pSrc->numRows, pSrc->numCols, (uint32_t *)pSrc->pData, (uint32_t *… in arm_mat_trans_f32()
107 uint16_t nRows = pSrc->numRows; /* number of rows */ in arm_mat_trans_f32()
116 if ((pSrc->numRows != pDst->numCols) || (pSrc->numCols != pDst->numRows)) in arm_mat_trans_f32()
233 uint16_t nRows = pSrc->numRows; /* number of rows */ in arm_mat_trans_f32()
241 if ((pSrc->numRows != pDst->numCols) || in arm_mat_trans_f32()
242 (pSrc->numCols != pDst->numRows) ) in arm_mat_trans_f32()
Darm_mat_cholesky_f16.c71 if ((pSrc->numRows != pSrc->numCols) || in arm_mat_cholesky_f16()
72 (pDst->numRows != pDst->numCols) || in arm_mat_cholesky_f16()
73 (pSrc->numRows != pDst->numRows) ) in arm_mat_cholesky_f16()
84 int n = pSrc->numRows; in arm_mat_cholesky_f16()
194 if ((pSrc->numRows != pSrc->numCols) || in arm_mat_cholesky_f16()
195 (pDst->numRows != pDst->numCols) || in arm_mat_cholesky_f16()
196 (pSrc->numRows != pDst->numRows) ) in arm_mat_cholesky_f16()
207 int n = pSrc->numRows; in arm_mat_cholesky_f16()
Darm_mat_cholesky_f32.c79 if ((pSrc->numRows != pSrc->numCols) || in arm_mat_cholesky_f32()
80 (pDst->numRows != pDst->numCols) || in arm_mat_cholesky_f32()
81 (pSrc->numRows != pDst->numRows) ) in arm_mat_cholesky_f32()
92 int n = pSrc->numRows; in arm_mat_cholesky_f32()
202 if ((pSrc->numRows != pSrc->numCols) || in arm_mat_cholesky_f32()
203 (pDst->numRows != pDst->numCols) || in arm_mat_cholesky_f32()
204 (pSrc->numRows != pDst->numRows) ) in arm_mat_cholesky_f32()
215 int n = pSrc->numRows; in arm_mat_cholesky_f32()
378 if ((pSrc->numRows != pSrc->numCols) || in arm_mat_cholesky_f32()
379 (pDst->numRows != pDst->numCols) || in arm_mat_cholesky_f32()
[all …]
Darm_mat_trans_q31.c60 if ((pSrc->numRows != pDst->numCols) || in arm_mat_trans_q31()
61 (pSrc->numCols != pDst->numRows) ) in arm_mat_trans_q31()
71 if (pDst->numRows == pDst->numCols) in arm_mat_trans_q31()
81 …arm_mat_trans_32bit_generic_mve(pSrc->numRows, pSrc->numCols, (uint32_t *)pSrc->pData, (uint32_t *… in arm_mat_trans_q31()
100 uint16_t nRows = pSrc->numRows; /* number of rows */ in arm_mat_trans_q31()
108 if ((pSrc->numRows != pDst->numCols) || in arm_mat_trans_q31()
109 (pSrc->numCols != pDst->numRows) ) in arm_mat_trans_q31()
Darm_mat_trans_f16.c64 if ((pSrc->numRows != pDst->numCols) || in arm_mat_trans_f16()
65 (pSrc->numCols != pDst->numRows) ) in arm_mat_trans_f16()
75 if (pDst->numRows == pDst->numCols) in arm_mat_trans_f16()
90 …arm_mat_trans_16bit_generic(pSrc->numRows, pSrc->numCols, (uint16_t *)pSrc->pData, (uint16_t *)p… in arm_mat_trans_f16()
108 uint16_t nRows = pSrc->numRows; /* number of rows */ in arm_mat_trans_f16()
116 if ((pSrc->numRows != pDst->numCols) || in arm_mat_trans_f16()
117 (pSrc->numCols != pDst->numRows) ) in arm_mat_trans_f16()
Darm_mat_trans_q15.c64 if ((pSrc->numRows != pDst->numCols) || in arm_mat_trans_q15()
65 (pSrc->numCols != pDst->numRows) ) in arm_mat_trans_q15()
75 if (pDst->numRows == pDst->numCols) in arm_mat_trans_q15()
90 …arm_mat_trans_16bit_generic(pSrc->numRows, pSrc->numCols, (uint16_t *)pSrc->pData, (uint16_t *)p… in arm_mat_trans_q15()
105 uint16_t nRows = pSrc->numRows; /* number of rows */ in arm_mat_trans_q15()
117 if ((pSrc->numRows != pDst->numCols) || in arm_mat_trans_q15()
118 (pSrc->numCols != pDst->numRows) ) in arm_mat_trans_q15()
Darm_mat_ldlt_f32.c104 if ((pSrc->numRows != pSrc->numCols) || in arm_mat_ldlt_f32()
105 (pl->numRows != pl->numCols) || in arm_mat_ldlt_f32()
106 (pd->numRows != pd->numCols) || in arm_mat_ldlt_f32()
107 (pl->numRows != pd->numRows) ) in arm_mat_ldlt_f32()
118 const int n=pSrc->numRows; in arm_mat_ldlt_f32()
381 if ((pSrc->numRows != pSrc->numCols) || in arm_mat_ldlt_f32()
382 (pl->numRows != pl->numCols) || in arm_mat_ldlt_f32()
383 (pd->numRows != pd->numCols) || in arm_mat_ldlt_f32()
384 (pl->numRows != pd->numRows) ) in arm_mat_ldlt_f32()
395 const int n=pSrc->numRows; in arm_mat_ldlt_f32()

1234