<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">from matplotlib.numerix import which

if which[0] == "numarray":
    from numarray.random_array import *
elif which[0] == "numeric":
    from RandomArray import *
elif which[0] == "numpy":
    try:
        from numpy.oldnumeric.random_array import *
    except ImportError:
        from numpy.random import *
else:
    raise RuntimeError("invalid numerix selector")
</pre></body></html>