random_antisymmetric_matrix#
- random_antisymmetric_matrix(dim, seed=None)[ソース]#
Return a random antisymmetric matrix.
- パラメータ:
dim (int) – The width and height of the matrix.
seed (Any) – The pseudorandom number generator or seed. Should be a valid input to
numpy.random.default_rng()
.
- 戻り値:
The sampled antisymmetric matrix.
- 戻り値の型: