s = self.man
X = s.rand()
U = s.randvec(X)
Ulogexp = s.log(X, s.exp(X, U))
np_testing.assert_array_almost_equal(U, Ulogexp)
def test_pairmean(self):
s = self.man
After Change
s = self.man
x = s.rand()
u = s.randvec(x)
y = s.exp(x, u)v = s.log(x, y)
// Check that the manifold difference between the tangent vectors u and
// v is 0
np_testing.assert_almost_equal(0, s.norm(x, u - v))