Searched refs:eigenvecs (Results 1 – 3 of 3) sorted by relevance
344 void mat33GetEigenbasis(struct Mat33 *S, struct Vec3 *eigenvals, struct Mat33 *eigenvecs) in mat33GetEigenbasis() argument358 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()
48 struct Mat33 eigenvecs; in moc_eigen_test() local49 mat33GetEigenbasis(&S, &eigenvals, &eigenvecs); in moc_eigen_test()
84 void mat33GetEigenbasis(struct Mat33 *S, struct Vec3 *eigenvals, struct Mat33 *eigenvecs);