casevh <cas...@gmail.com> writes:

> I coded a quick matrix inversion function and measured running times
> using GMPY2 rational and floating point types. For the floating point
> tests, I used a precision of 1000 bits. With floating point values,
> the running time grew as n^3. With rational values, the running time
> grew as n^4*ln(n).

Did you clear the denominators before you started?

-- [mdw]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to