Home
last modified time | relevance | path

Searched refs:eigenvals (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.c62 struct Vec3 eigenvals; in moc_eigen_test() local
64 mat33GetEigenbasis(&S, &eigenvals, &eigenvecs); in moc_eigen_test()
66 float evmax = (eigenvals.x > eigenvals.y) ? eigenvals.x : eigenvals.y; in moc_eigen_test()
67 evmax = (eigenvals.z > evmax) ? eigenvals.z : evmax; in moc_eigen_test()
69 float evmin = (eigenvals.x < eigenvals.y) ? eigenvals.x : eigenvals.y; in moc_eigen_test()
70 evmin = (eigenvals.z < evmin) ? eigenvals.z : evmin; in moc_eigen_test()
72 float eigenvals_sum = eigenvals.x + eigenvals.y + eigenvals.z; in moc_eigen_test()
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c390 struct Vec3 eigenvals; in accEigenTest() local
392 mat33GetEigenbasis(&S, &eigenvals, &eigenvecs); in accEigenTest()
394 float evmax = (eigenvals.x > eigenvals.y) ? eigenvals.x : eigenvals.y; in accEigenTest()
395 evmax = (eigenvals.z > evmax) ? eigenvals.z : evmax; in accEigenTest()
397 float evmin = (eigenvals.x < eigenvals.y) ? eigenvals.x : eigenvals.y; in accEigenTest()
398 evmin = (eigenvals.z < evmin) ? eigenvals.z : evmin; in accEigenTest()
400 float eigenvals_sum = eigenvals.x + eigenvals.y + eigenvals.z; in accEigenTest()
408 agd->e_x = eigenvals.x; in accEigenTest()
409 agd->e_y = eigenvals.y; in accEigenTest()
410 agd->e_z = eigenvals.z; in accEigenTest()
/device/google/contexthub/firmware/os/algos/common/math/
Dmat.h125 void mat33GetEigenbasis(struct Mat33 *S, struct Vec3 *eigenvals,
Dmat.c304 void mat33GetEigenbasis(struct Mat33 *S, struct Vec3 *eigenvals, in mat33GetEigenbasis() argument
307 ASSERT_NOT_NULL(eigenvals); in mat33GetEigenbasis()
407 initVec3(eigenvals, _eigenvals[0], _eigenvals[1], _eigenvals[2]); in mat33GetEigenbasis()