Home
last modified time | relevance | path

Searched refs:eigenvecs (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/firmware/src/algos/
Dmat.c344 void mat33GetEigenbasis(struct Mat33 *S, struct Vec3 *eigenvals, struct Mat33 *eigenvecs) in mat33GetEigenbasis() argument
358 initDiagonalMatrix(eigenvecs, 1.0f); in mat33GetEigenbasis()
407 float tmp = c * eigenvecs->elem[k][i] - s * eigenvecs->elem[l][i]; in mat33GetEigenbasis()
408 eigenvecs->elem[l][i] = s * eigenvecs->elem[k][i] + c * eigenvecs->elem[l][i]; in mat33GetEigenbasis()
409 eigenvecs->elem[k][i] = tmp; in mat33GetEigenbasis()
440 mat33SwapRows(eigenvecs, k, m); in mat33GetEigenbasis()
Dmag_cal.c48 struct Mat33 eigenvecs; in moc_eigen_test() local
49 mat33GetEigenbasis(&S, &eigenvals, &eigenvecs); in moc_eigen_test()
/device/google/contexthub/firmware/inc/algos/
Dmat.h84 void mat33GetEigenbasis(struct Mat33 *S, struct Vec3 *eigenvals, struct Mat33 *eigenvecs);