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.c63 struct Vec3 eigenvals; in moc_eigen_test() local
65 mat33GetEigenbasis(&S, &eigenvals, &eigenvecs); in moc_eigen_test()
67 float evmax = (eigenvals.x > eigenvals.y) ? eigenvals.x : eigenvals.y; in moc_eigen_test()
68 evmax = (eigenvals.z > evmax) ? eigenvals.z : evmax; in moc_eigen_test()
70 float evmin = (eigenvals.x < eigenvals.y) ? eigenvals.x : eigenvals.y; in moc_eigen_test()
71 evmin = (eigenvals.z < evmin) ? eigenvals.z : evmin; in moc_eigen_test()
73 float eigenvals_sum = eigenvals.x + eigenvals.y + eigenvals.z; in moc_eigen_test()
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c395 struct Vec3 eigenvals; in accEigenTest() local
397 mat33GetEigenbasis(&S, &eigenvals, &eigenvecs); in accEigenTest()
399 float evmax = (eigenvals.x > eigenvals.y) ? eigenvals.x : eigenvals.y; in accEigenTest()
400 evmax = (eigenvals.z > evmax) ? eigenvals.z : evmax; in accEigenTest()
402 float evmin = (eigenvals.x < eigenvals.y) ? eigenvals.x : eigenvals.y; in accEigenTest()
403 evmin = (eigenvals.z < evmin) ? eigenvals.z : evmin; in accEigenTest()
405 float eigenvals_sum = eigenvals.x + eigenvals.y + eigenvals.z; in accEigenTest()
413 agd->e_x = eigenvals.x; in accEigenTest()
414 agd->e_y = eigenvals.y; in accEigenTest()
415 agd->e_z = eigenvals.z; in accEigenTest()
/device/google/contexthub/firmware/os/algos/common/math/
Dmat.c305 void mat33GetEigenbasis(struct Mat33 *S, struct Vec3 *eigenvals, in mat33GetEigenbasis() argument
308 CHRE_ASSERT_NOT_NULL(eigenvals); in mat33GetEigenbasis()
408 initVec3(eigenvals, _eigenvals[0], _eigenvals[1], _eigenvals[2]); in mat33GetEigenbasis()
Dmat.h127 void mat33GetEigenbasis(struct Mat33 *S, struct Vec3 *eigenvals,