Determinant of Large Matrix
Bjoern Schliessmann
usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Wed Jun 6 17:55:04 EDT 2007
James Stroud wrote:
> For this matrix, I'm getting this with numpy:
>
> 2774532095.9999971
>
> But I have a feeling I'm exceeding the capacity of floats here.
> Does anyone have an idea for how to treat this?
Not if you don't state your requirements more precisely. E. g. what
precision do you need?
> Is it absurd to think I could get a determinant of this matrix?
Absolutely not.
> Is there a python package that could help me?
Help doing what?
BTW, scilab says this:
-->det(A)
ans =
2.7745320960000E+09
-->ans-2774532095.9999971
ans =
2.8610229492188E-06
-->
The error is 15 magnitudes below your result -- what do you want
more? :)
Regards,
Björn
P.S.:
>>> print 2774532095.9999971
2774532096.0
>>>
--
BOFH excuse #118:
the router thinks its a printer.
More information about the Python-list
mailing list