pyFDN.random_orthogonal#

pyFDN.random_orthogonal(n, rng=None)[source]#

Generate a random orthogonal matrix distributed according to the Haar measure.

Draws from rng when given, otherwise from NumPy’s global random state (so numpy.random.seed() makes the result reproducible).

Return type:

ndarray