-
- Downloads
replace np.matrix with np.array in tests
np.matrix is not only slow, but it is an ill-behaved sequence: m[0].ndim == m.ndim == 2 This causes problems when converting a numpy matrix to a tinyarray.
Please register or sign in to comment
np.matrix is not only slow, but it is an ill-behaved sequence: m[0].ndim == m.ndim == 2 This causes problems when converting a numpy matrix to a tinyarray.