Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 138 Bytes
import numpy as np
import factor
def test():
A = np.random.rand(3,3)
L, U = factor.LU(A)
assert np.allclose(A, np.dot(L,U))