for k in range(0, self._nmanifolds)])
def rand(self):
return [self._manifolds[k].rand()for k in range(0, self._nmanifolds)]
def randvec(self, X):
return _TangentVector([1/np.sqrt(self._nmanifolds) *
After Change
for k, man in enumerate(self._manifolds)])
def rand(self):
return [man.rand() for man in self._manifolds]
def randvec(self, X):
scale = len(self._manifolds) ** (-1/2)
return _TangentVector([scale * man.randvec(X[k])