Closed SmithB closed 4 years ago
I am trying to decide if I like the function name. I looked to MATLAB for inspiration, but they don't have a different name. They decide what to compute based on the output arguments.
Some alternatives:
zr(), since z is returned first. e is never mentioned for some reason.
a keyword argument to qr() to specify what should be returned (compute_Q = False)
I'd be happy either way. Thanks!
On Thu, Aug 9, 2018 at 2:10 PM, Yotam Gingold notifications@github.com wrote:
I am trying to decide if I like the function name. I looked to MATLAB for inspiration, but they don't have a different name. They decide what to compute based on the output arguments.
Some alternatives:
-
zr(), since z is returned first. e is never mentioned for some reason.
a keyword argument to qr() to specify what should be returned (compute_Q = False)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yig/PySPQR/pull/10#issuecomment-411898311, or mute the thread https://github.com/notifications/unsubscribe-auth/ACLG6F8YNma55h5CNc4t59sZ-_6GIEQmks5uPKVIgaJpZM4V2WTz .
Sorry about the delay. Can you clarify what R and z are? Is it the "[C,R,p] = qr(A,B,'vector')" version on this MATLAB page: https://www.mathworks.com/help/symbolic/qr.html
When solving large linear systems, it's nice to be able to use parts of a QR decomposition without forming the Q matrix. Suitesparse allows a Q-less decomposition, which forms R and Z such that z=Q^Td. The modifications I made to the code let PySPQR return Q and Z for sparse systems.