On Wed, 24 Nov 2010 14:02:21 +0100, Daniel Fetchinson wrote: [snip] > I'm using fractions.Fraction as entries in a matrix because I need to > have very high precision and fractions.Fraction provides infinite > precision . . . [snip] > > Probably it doesn't matter but the matrix has all components non-zero > and is about a thousand by thousand in size.
I wonder how big the numerators and denominators in those fractions are going to get during the matrix inversion. Would it be surprising if the elements of the inverse matrix had numerators and denominators a million times longer than the original matrix? -- To email me, substitute nowhere->spamcop, invalid->net. -- http://mail.python.org/mailman/listinfo/python-list
