Lines Matching refs:basis
57 // where Q is a randomly chosen orthonormal basis of R^6.
64 Matrix basis(6, 6);
66 basis << -0.1046920933796121, -0.7449367449921986, -0.4190744502875876, -0.4480450716142566, 0.2375351607929440, -0.0363053418882862,
77 Matrix jacobian = sqrtD * basis;
196 // Test if the subspace basis is a valid orthonormal basis of the space spanned
214 // Check if the basis is orthonormal.
215 const Matrix basis = strategy.subspace_basis();
216 EXPECT_NEAR(basis.col(0).norm(), 1.0, kTolerance);
217 EXPECT_NEAR(basis.col(1).norm(), 1.0, kTolerance);
218 EXPECT_NEAR(basis.col(0).dot(basis.col(1)), 0.0, kTolerance);
222 EXPECT_NEAR((gradient - basis*(basis.transpose()*gradient)).norm(),
228 EXPECT_NEAR((gn - basis*(basis.transpose()*gn)).norm(),