Searched refs:pivot (Results 1 – 3 of 3) sorted by relevance
/device/google/contexthub/firmware/inc/algos/ |
D | mat.h | 78 void mat33DecomposeLup(struct Mat33 *LU, struct Size3 *pivot); 82 …mat33Solve(const struct Mat33 *A, struct Vec3 *x, const struct Vec3 *b, const struct Size3 *pivot); 92 void mat44DecomposeLup(struct Mat44 *LU, struct Size4 *pivot); 96 …mat44Solve(const struct Mat44 *A, struct Vec4 *x, const struct Vec4 *b, const struct Size4 *pivot);
|
/device/google/contexthub/firmware/src/algos/ |
D | mat.c | 249 void mat33DecomposeLup(struct Mat33 *LU, struct Size3 *pivot) in mat33DecomposeLup() argument 256 pivot->elem[k] = k; in mat33DecomposeLup() 261 pivot->elem[k] = j; in mat33DecomposeLup() 265 if (pivot->elem[k] != k) { in mat33DecomposeLup() 266 mat33SwapRows(LU, k, pivot->elem[k]); in mat33DecomposeLup() 304 … mat33Solve(const struct Mat33 *A, struct Vec3 *x, const struct Vec3 *b, const struct Size3 *pivot) in mat33Solve() argument 317 if (pivot->elem[k] != k) { in mat33Solve() 319 bCopy[k] = bCopy[pivot->elem[k]]; in mat33Solve() 320 bCopy[pivot->elem[k]] = tmp; in mat33Solve() 503 void mat44DecomposeLup(struct Mat44 *LU, struct Size4 *pivot) in mat44DecomposeLup() argument [all …]
|
D | mag_cal.c | 84 struct Size4 pivot; in moc_fit() local 85 mat44DecomposeLup(&A, &pivot); in moc_fit() 88 mat44Solve(&A, &out, &b, &pivot); in moc_fit()
|