New issue 222 by ken.al...@sbcglobal.net: QR / LQ algorithm doesn't exist
in mpmath
http://code.google.com/p/mpmath/issues/detail?id=222
What steps will reproduce the problem?
1. QR decomposition algorithm doesn't exist in mpmath
2.
3.
What is the expected output? What do you see instead?
A -> Q, R or A -> L, Q
What version of the product are you using? On what operating system?
2.6 on windows XP
Please provide any additional information below.
I've written a QR alogrithm to factor A -> Q, R or A -> L, Q depending on
the dimensions of A. There are no restrictions on the content of A (other
than m > 1 and n > 1). A can even be all zeros.
Attachments:
QR.py 1.8 KB
Thanks. Could you add some basic test code?
Does it work with complex matrices?
I now have a basic prototype QR function that works for real (mpf) and
complex (mpc) numbers. I need 2-3 weeks to clean it up for submission.
Are there any other relevant data types it should accept?
That sounds fantastic!
It would be nice if it worked with the interval and double precision
contexts as well, but that's not as important.