Open basnijholt opened 4 years ago
>>> A = numpy.matlib.rand(1000, 1000)
>>> A = A - A.T
>>> %timeit pfa1 = pf.pfaffian(A)
>>> %timeit pfa1 = cpf(A)
1.54 s ± 158 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
69 ms ± 1.97 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)
Small test script: