标签:generate float 正交 class dom code int htm group
import numpy as np
from scipy.stats import ortho_group
d = 3
seed = 1
size = 2
a, b = np.float32(ortho_group.rvs(size=size, dim=d, random_state=seed))
print(a)
print(np.linalg.det(a))
print(a @ a.T)
https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.ortho_group.html
标签:generate float 正交 class dom code int htm group
原文地址:https://www.cnblogs.com/weiyinfu/p/10987001.html