[Numpy-discussion] matrix inversion
jp d
yoyoq@yahoo....
Wed Aug 10 19:50:00 CDT 2011
hi,
i am trying to invert matrices like this:
[[ 0.01643777 -0.13539939 0.11946689]
[ 0.12479926 0.01210898 -0.09217618]
[-0.13050087 0.07575163 0.01144993]]
in perl using Math::MatrixReal;
and in various online calculators i get
[ 2.472715991745 3.680743681735 -3.831392002314 ]
[ -4.673105249083 -5.348238625096 -5.703193038649 ]
[ 2.733966489601 -6.567940452290 -5.936617926811 ]
using python , numpy and linalg.inv (or linalg.pinv) i get a divergent answer
[[ 6.79611151e+07 1.01163031e+08 1.05303510e+08]
[ 1.01163057e+08 1.50585545e+08 1.56748838e+08]
[ 1.05303548e+08 1.56748831e+08 1.63164381e+08]]
any suggestions?
thanks
jpd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20110810/3ba99d5b/attachment-0001.html
More information about the NumPy-Discussion
mailing list