Home
last modified time | relevance | path

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

12345

/cmsis-dsp-3.7.0-3.6.0/Source/MatrixFunctions/
Darm_mat_qr_f64.c91 if (pSrc->numRows < pSrc->numCols) in arm_mat_qr_f64()
96 memcpy(pOutR->pData,pSrc->pData,pSrc->numCols * pSrc->numRows*sizeof(float64_t)); in arm_mat_qr_f64()
98 pOutR->numRows = pSrc->numRows; in arm_mat_qr_f64()
109 beta = arm_householder_f64(pTmpA,threshold,pSrc->numRows - col,pTmpA); in arm_mat_qr_f64()
131 blkCnt = (pSrc->numRows-col - 1) >> 2; in arm_mat_qr_f64()
159 for(;k<pSrc->numRows-col; k++) in arm_mat_qr_f64()
172 for(j=0;j<pSrc->numRows-col; j++) in arm_mat_qr_f64()
186 for(k=0;k<pSrc->numRows-col-1; k++) in arm_mat_qr_f64()
200 memset(pOutQ->pData,0,sizeof(float64_t)*pOutQ->numRows*pOutQ->numRows); in arm_mat_qr_f64()
209 nb = pOutQ->numRows - pOutQ->numCols + 1; in arm_mat_qr_f64()
[all …]
Darm_mat_qr_f16.c98 if (pSrc->numRows < pSrc->numCols) in arm_mat_qr_f16()
103 memcpy(pOutR->pData,pSrc->pData,pSrc->numCols * pSrc->numRows*sizeof(float16_t)); in arm_mat_qr_f16()
105 pOutR->numRows = pSrc->numRows; in arm_mat_qr_f16()
119 beta = arm_householder_f16(pTmpA,threshold,pSrc->numRows - col,pTmpA); in arm_mat_qr_f16()
161 blkCnt = (pSrc->numRows-col - 1) >> 2; in arm_mat_qr_f16()
231 for(;k<pSrc->numRows-col; k++) in arm_mat_qr_f16()
265 for(j=0;j<pSrc->numRows-col; j++) in arm_mat_qr_f16()
301 for(k=0;k<pSrc->numRows-col-1; k++) in arm_mat_qr_f16()
315 memset(pOutQ->pData,0,sizeof(float16_t)*pOutQ->numRows*pOutQ->numRows); in arm_mat_qr_f16()
324 nb = pOutQ->numRows - pOutQ->numCols + 1; in arm_mat_qr_f16()
[all …]
Darm_mat_qr_f32.c171 if (pSrc->numRows < pSrc->numCols) in arm_mat_qr_f32()
176 memcpy(pOutR->pData,pSrc->pData,pSrc->numCols * pSrc->numRows*sizeof(float32_t)); in arm_mat_qr_f32()
178 pOutR->numRows = pSrc->numRows; in arm_mat_qr_f32()
192 beta = arm_householder_f32(pTmpA,threshold,pSrc->numRows - col,pTmpA); in arm_mat_qr_f32()
234 blkCnt = (pSrc->numRows-col - 1) >> 2; in arm_mat_qr_f32()
304 for(;k<pSrc->numRows-col; k++) in arm_mat_qr_f32()
338 for(j=0;j<pSrc->numRows-col; j++) in arm_mat_qr_f32()
374 for(k=0;k<pSrc->numRows-col-1; k++) in arm_mat_qr_f32()
388 memset(pOutQ->pData,0,sizeof(float32_t)*pOutQ->numRows*pOutQ->numRows); in arm_mat_qr_f32()
397 nb = pOutQ->numRows - pOutQ->numCols + 1; in arm_mat_qr_f32()
[all …]
Darm_mat_add_f32.c104 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_add_f32()
106 (pSrcA->numRows != pDst->numRows) || (pSrcA->numCols != pDst->numCols)) in arm_mat_add_f32()
117 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_f32()
177 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_add_f32()
179 (pSrcA->numRows != pDst->numRows) || (pSrcA->numCols != pDst->numCols)) in arm_mat_add_f32()
192 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_f32()
253 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_add_f32()
255 (pSrcA->numRows != pDst->numRows) || in arm_mat_add_f32()
267 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_add_f32()
Darm_mat_sub_f32.c101 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_sub_f32()
103 (pSrcA->numRows != pDst->numRows) || (pSrcA->numCols != pDst->numCols)) in arm_mat_sub_f32()
114 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_f32()
170 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_sub_f32()
172 (pSrcA->numRows != pDst->numRows) || (pSrcA->numCols != pDst->numCols)) in arm_mat_sub_f32()
185 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_f32()
249 if ((pSrcA->numRows != pSrcB->numRows) || in arm_mat_sub_f32()
251 (pSrcA->numRows != pDst->numRows) || in arm_mat_sub_f32()
263 numSamples = (uint32_t) pSrcA->numRows * pSrcA->numCols; in arm_mat_sub_f32()
Darm_mat_inverse_f16.c62 uint32_t numRows = pSrc->numRows; /* Number of rows in the matrix */ in arm_mat_inverse_f16() local
73 if ((pSrc->numRows != pSrc->numCols) || in arm_mat_inverse_f16()
74 (pDst->numRows != pDst->numCols) || in arm_mat_inverse_f16()
75 (pSrc->numRows != pDst->numRows) ) in arm_mat_inverse_f16()
124 rowCnt = numRows; in arm_mat_inverse_f16()
130 j = numRows - rowCnt; in arm_mat_inverse_f16()
173 for (rowNb = column+1; rowNb < numRows; rowNb++) in arm_mat_inverse_f16()
232 for (rowNb = pivotRow + 1; rowNb < numRows; rowNb++) in arm_mat_inverse_f16()
250 for (i = 0; i < numRows * numCols; i++) in arm_mat_inverse_f16()
256 if (i == numRows * numCols) in arm_mat_inverse_f16()
Darm_mat_inverse_f32.c95 uint32_t numRows = pSrc->numRows; /* Number of rows in the matrix */ in arm_mat_inverse_f32() local
106 if ((pSrc->numRows != pSrc->numCols) || in arm_mat_inverse_f32()
107 (pDst->numRows != pDst->numCols) || in arm_mat_inverse_f32()
108 (pSrc->numRows != pDst->numRows) ) in arm_mat_inverse_f32()
157 rowCnt = numRows; in arm_mat_inverse_f32()
163 j = numRows - rowCnt; in arm_mat_inverse_f32()
207 for (rowNb = column+1; rowNb < numRows; rowNb++) in arm_mat_inverse_f32()
265 for (rowNb = pivotRow + 1; rowNb < numRows; rowNb++) in arm_mat_inverse_f32()
283 for (i = 0; i < numRows * numCols; i++) in arm_mat_inverse_f32()
289 if (i == numRows * numCols) in arm_mat_inverse_f32()
Darm_mat_inverse_f64.c60 uint32_t numRows = pSrc->numRows; /* Number of rows in the matrix */ in arm_mat_inverse_f64() local
71 if ((pSrc->numRows != pSrc->numCols) || in arm_mat_inverse_f64()
72 (pDst->numRows != pDst->numCols) || in arm_mat_inverse_f64()
73 (pSrc->numRows != pDst->numRows) ) in arm_mat_inverse_f64()
122 rowCnt = numRows; in arm_mat_inverse_f64()
128 j = numRows - rowCnt; in arm_mat_inverse_f64()
171 for (rowNb = column+1; rowNb < numRows; rowNb++) in arm_mat_inverse_f64()
229 for (rowNb = pivotRow + 1; rowNb < numRows; rowNb++) in arm_mat_inverse_f64()
247 for (i = 0; i < numRows * numCols; i++) in arm_mat_inverse_f64()
253 if (i == numRows * numCols) in arm_mat_inverse_f64()
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_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_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_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_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_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_scale_f32.c91 if ((pSrc->numRows != pDst->numRows) || (pSrc->numCols != pDst->numCols)) in arm_mat_scale_f32()
110 numSamples = (uint32_t) pSrc->numRows * pSrc->numCols; in arm_mat_scale_f32()
166 if ((pSrc->numRows != pDst->numRows) || (pSrc->numCols != pDst->numCols)) in arm_mat_scale_f32()
178 numSamples = (uint32_t) pSrc->numRows * pSrc->numCols; in arm_mat_scale_f32()
236 if ((pSrc->numRows != pDst->numRows) || in arm_mat_scale_f32()
248 numSamples = (uint32_t) pSrc->numRows * pSrc->numCols; in arm_mat_scale_f32()
Darm_mat_solve_lower_triangular_f32.c65 if ((lt->numRows != lt->numCols) || in arm_mat_solve_lower_triangular_f32()
66 (lt->numRows != a->numRows) ) in arm_mat_solve_lower_triangular_f32()
86 n = dst->numRows; in arm_mat_solve_lower_triangular_f32()
166 if ((lt->numRows != lt->numCols) || in arm_mat_solve_lower_triangular_f32()
167 (lt->numRows != a->numRows) ) in arm_mat_solve_lower_triangular_f32()
187 n = dst->numRows; in arm_mat_solve_lower_triangular_f32()
265 if ((lt->numRows != lt->numCols) || in arm_mat_solve_lower_triangular_f32()
266 (lt->numRows != a->numRows) ) in arm_mat_solve_lower_triangular_f32()
293 n = dst->numRows; in arm_mat_solve_lower_triangular_f32()
Darm_mat_solve_upper_triangular_f32.c65 if ((ut->numRows != ut->numCols) || in arm_mat_solve_upper_triangular_f32()
66 (ut->numRows != a->numRows) ) in arm_mat_solve_upper_triangular_f32()
79 n = dst->numRows; in arm_mat_solve_upper_triangular_f32()
162 if ((ut->numRows != ut->numCols) || in arm_mat_solve_upper_triangular_f32()
163 (ut->numRows != a->numRows) ) in arm_mat_solve_upper_triangular_f32()
176 n = dst->numRows; in arm_mat_solve_upper_triangular_f32()
258 if ((ut->numRows != ut->numCols) || in arm_mat_solve_upper_triangular_f32()
259 (ut->numRows != a->numRows) ) in arm_mat_solve_upper_triangular_f32()
279 n = dst->numRows; in arm_mat_solve_upper_triangular_f32()
Darm_mat_trans_f32.c86 if ((pSrc->numRows != pDst->numCols) || (pSrc->numCols != pDst->numRows)) in arm_mat_trans_f32()
94 if (pDst->numRows == pDst->numCols) in arm_mat_trans_f32()
104 …arm_mat_trans_32bit_generic_mve(pSrc->numRows, pSrc->numCols, (uint32_t *)pSrc->pData, (uint32_t *… in arm_mat_trans_f32()
123 uint16_t nRows = pSrc->numRows; /* number of rows */ in arm_mat_trans_f32()
132 if ((pSrc->numRows != pDst->numCols) || (pSrc->numCols != pDst->numRows)) in arm_mat_trans_f32()
249 uint16_t nRows = pSrc->numRows; /* number of rows */ in arm_mat_trans_f32()
257 if ((pSrc->numRows != pDst->numCols) || in arm_mat_trans_f32()
258 (pSrc->numCols != pDst->numRows) ) in arm_mat_trans_f32()
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_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_cholesky_f16.c72 if ((pSrc->numRows != pSrc->numCols) || in arm_mat_cholesky_f16()
73 (pDst->numRows != pDst->numCols) || in arm_mat_cholesky_f16()
74 (pSrc->numRows != pDst->numRows) ) in arm_mat_cholesky_f16()
85 int n = pSrc->numRows; in arm_mat_cholesky_f16()
192 if ((pSrc->numRows != pSrc->numCols) || in arm_mat_cholesky_f16()
193 (pDst->numRows != pDst->numCols) || in arm_mat_cholesky_f16()
194 (pSrc->numRows != pDst->numRows) ) in arm_mat_cholesky_f16()
205 int n = pSrc->numRows; in arm_mat_cholesky_f16()
/cmsis-dsp-3.7.0-3.6.0/Testing/Source/Benchmarks/
DUnaryF32.cpp117 this->in1.numRows = this->nbr; in setUp()
125 this->out.numRows = this->nbc; in setUp()
129 this->in1.numRows = this->nbr; in setUp()
137 this->out.numRows = this->nbc; in setUp()
141 this->in1.numRows = this->nbr; in setUp()
167 this->out.numRows = this->nbr; in setUp()
171 this->in1.numRows = this->nbr; in setUp()
206 this->out.numRows = this->nbr; in setUp()
210 this->in1.numRows = this->nbr; in setUp()
214 this->in2.numRows = this->nbr; in setUp()
[all …]
DUnaryF16.cpp108 this->in1.numRows = this->nbr; in setUp()
116 this->out.numRows = this->nbc; in setUp()
120 this->in1.numRows = this->nbr; in setUp()
128 this->out.numRows = this->nbc; in setUp()
132 this->in1.numRows = this->nbr; in setUp()
158 this->out.numRows = this->nbr; in setUp()
162 this->in1.numRows = this->nbr; in setUp()
197 this->out.numRows = this->nbr; in setUp()
201 this->in1.numRows = this->nbr; in setUp()
205 this->in2.numRows = this->nbr; in setUp()
[all …]
DUnaryF64.cpp79 this->in1.numRows = this->nbr; in setUp()
83 this->out.numRows = this->nbr; in setUp()
109 this->out.numRows = this->nbr; in setUp()
113 this->in1.numRows = this->nbr; in setUp()
148 this->out.numRows = this->nbr; in setUp()
152 this->in1.numRows = this->nbr; in setUp()
156 this->in2.numRows = this->nbr; in setUp()
188 this->out.numRows = this->nbr; in setUp()
192 this->in1.numRows = this->nbr; in setUp()
196 this->in2.numRows = this->nbr; in setUp()

12345