[Numpy-discussion] numpy.linalg.linalg.LinAlgError: Singular matrix

Stephen Walton drswalton at gmail.com
Wed Aug 16 18:51:24 CDT 2006


On 8/16/06, kortmann at ideaworks.com <kortmann at ideaworks.com> wrote:
>
> all of the variables n, st, st2, st3, st4, st5, st6, sx, sxt, sxt2, and
> sxt3 are all floats.
>
>
> A = array([[N, st, st2, st3],[st, st2, st3, st4], [st2, st3, st4, st5],
> [st3, st4, st5, st6]])
> B = array    ([sx, sxt, sxt2, sxt3])
> lina = linalg.solve(A, B)


Is your matrix A in fact singular?  Without numerical values of A, st, etc.,
it is hard to know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060816/ce3cc191/attachment-0001.html 


More information about the Numpy-discussion mailing list