rot_mat_plus_delta = rot_mat + delta
result = group.projection(rot_mat_plus_delta)
expected = rot_mat
self.assertTrue(gs.allclose(result, expected))
@geomstats.tests.np_only
def test_projection_vectorization(self):
for n in self.n_seq:
After Change
delta = 1e-12 * gs.ones((n, n))
rot_mat_plus_delta = rot_mat + delta
result = group.projection(rot_mat_plus_delta)
expected = helper.to_matrix(rot_mat)
self.assertAllClose(result, expected)
def test_projection_vectorization(self):
for n in self.n_seq: