linalg module is practically unsable

Issue #5 resolved
Ivan Lisenkov created an issue

Most of fuctions in numpy.linalg module fail with:

>>>> A = numpy.array([[1,2],[4,0]])
>>>> numpy.linalg.inv(A)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/pypy/pypy-env/site-packages/numpy/linalg/linalg.py", line 520, in inv
    ainv = _umath_linalg.inv(a, signature=signature, extobj=extobj)
AttributeError: 'module' object has no attribute 'inv'

Comments (5)

  1. mattip

    linalg cannot import lapack_lite, where most of the heavy lifting like inv() is implemented since it calls capi (in pypy, cpyext) functions which even if implemented will be slow. My current path to fixing this is

    This work is being done on the ufuncapi branch

  2. Log in to comment