Home
last modified time | relevance | path

Searched refs:pivot (Results 1 – 5 of 5) sorted by relevance

/cmsis-dsp-latest/Source/MatrixFunctions/
Darm_mat_inverse_f32.c99 float32_t pivot = 0.0f, newPivot=0.0f; /* Temporary input values */ in arm_mat_inverse_f32() local
203 pivot = *pTmp; in arm_mat_inverse_f32()
215 if (fabsf(newPivot) > fabsf(pivot)) in arm_mat_inverse_f32()
218 pivot = newPivot; in arm_mat_inverse_f32()
224 if ((pivot != 0.0f) && (selectedRow != column)) in arm_mat_inverse_f32()
240 if ((flag != 1U) && (pivot == 0.0f)) in arm_mat_inverse_f32()
247 pivot = 1.0f / pivot; in arm_mat_inverse_f32()
249 SCALE_ROW_F32(pSrc,column,pivot,pivotRow); in arm_mat_inverse_f32()
250 SCALE_ROW_F32(pDst,0,pivot,pivotRow); in arm_mat_inverse_f32()
260 pivot = *pTmp; in arm_mat_inverse_f32()
[all …]
Darm_mat_inverse_f64.c64 float64_t pivot = 0.0, newPivot=0.0; /* Temporary input values */ in arm_mat_inverse_f64() local
168 pivot = *pTmp; in arm_mat_inverse_f64()
179 if (fabs(newPivot) > fabs(pivot)) in arm_mat_inverse_f64()
182 pivot = newPivot; in arm_mat_inverse_f64()
188 if ((pivot != 0.0) && (selectedRow != column)) in arm_mat_inverse_f64()
204 if ((flag != 1U) && (pivot == 0.0)) in arm_mat_inverse_f64()
211 pivot = 1.0 / pivot; in arm_mat_inverse_f64()
213 SCALE_ROW_F64(pSrc,column,pivot,pivotRow); in arm_mat_inverse_f64()
214 SCALE_ROW_F64(pDst,0,pivot,pivotRow); in arm_mat_inverse_f64()
224 pivot = *pTmp; in arm_mat_inverse_f64()
[all …]
Darm_mat_inverse_f16.c66 float16_t pivot = 0.0f16, newPivot=0.0f16; /* Temporary input values */ in arm_mat_inverse_f16() local
170 pivot = *pTmp; in arm_mat_inverse_f16()
181 if (fabsf((float32_t)newPivot) > fabsf((float32_t)pivot)) in arm_mat_inverse_f16()
184 pivot = newPivot; in arm_mat_inverse_f16()
191 if (((_Float16)pivot != 0.0f16) && (selectedRow != column)) in arm_mat_inverse_f16()
207 if ((flag != 1U) && ((_Float16)pivot == 0.0f16)) in arm_mat_inverse_f16()
214 pivot = 1.0f16 / (_Float16)pivot; in arm_mat_inverse_f16()
216 SCALE_ROW_F16(pSrc,column,pivot,pivotRow); in arm_mat_inverse_f16()
217 SCALE_ROW_F16(pDst,0,pivot,pivotRow); in arm_mat_inverse_f16()
227 pivot = *pTmp; in arm_mat_inverse_f16()
[all …]
/cmsis-dsp-latest/Source/SupportFunctions/
Darm_quick_sort_f32.c35 float32_t pivot; in arm_quick_sort_partition_f32() local
40 pivot = pSrc[pivot_index]; in arm_quick_sort_partition_f32()
67 } while (pSrc[i] < pivot && i<last); in arm_quick_sort_partition_f32()
73 } while (pSrc[j] > pivot); in arm_quick_sort_partition_f32()
81 } while (pSrc[i] > pivot && i<last); in arm_quick_sort_partition_f32()
87 } while (pSrc[j] < pivot); in arm_quick_sort_partition_f32()
108 int32_t pivot; in arm_quick_sort_core_f32() local
111 pivot = arm_quick_sort_partition_f32(pSrc, first, last, dir); in arm_quick_sort_core_f32()
114 arm_quick_sort_core_f32(pSrc, first, pivot, dir); in arm_quick_sort_core_f32()
115 arm_quick_sort_core_f32(pSrc, pivot+1, last, dir); in arm_quick_sort_core_f32()
/cmsis-dsp-latest/dsppp/tests/
Dmatrix_test.cpp328 T pivot = b(c,c); in _matinv() local
335 if (_abs(newPivot)>_abs(pivot)) in _matinv()
337 pivot = newPivot; in _matinv()
342 if ((pivot!=T{}) && (selectedRow != c)) in _matinv()
347 else if (pivot == T{}) in _matinv()
352 pivot = number_traits<T>::one() / pivot; in _matinv()
354 b.row(c,c) *= pivot; in _matinv()
355 res.row(c) *= pivot; in _matinv()