for n in self.n_seq:
group = self.so[n]
n_samples = self.n_samples
mats = gs.random.rand(n_samples, n, n)
result = group.projection(mats)
self.assertTrue(result.shape == (n_samples, n, n))
@geomstats.tests.np_only
After Change
for n in self.n_seq:
group = self.so[n]
n_samples = self.n_samples
mats = gs.ones((n_samples, n, n))
result = group.projection(mats)
self.assertAllClose(gs.shape(result), (n_samples, n, n))
def test_skew_matrix_from_vector(self):