Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
QR decomposition in mpmath?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ken  
View profile  
 More options Feb 21 2012, 1:09 pm
From: Ken <ken.al...@sbcglobal.net>
Date: Tue, 21 Feb 2012 10:09:14 -0800 (PST)
Local: Tues, Feb 21 2012 1:09 pm
Subject: QR decomposition in mpmath?
Does mpmath have any built-in routines to calculate QR matrix
decompositions?  All I'm able to find is qr_solve but that doesn't
actually calculate Q or R which I need for constrained least squares.
Any suggestions?

Thanks, Ken


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fredrik Johansson  
View profile  
 More options Feb 24 2012, 4:43 am
From: Fredrik Johansson <fredrik.johans...@gmail.com>
Date: Fri, 24 Feb 2012 10:43:11 +0100
Local: Fri, Feb 24 2012 4:43 am
Subject: Re: QR decomposition in mpmath?

On Tue, Feb 21, 2012 at 19:09, Ken <ken.al...@sbcglobal.net> wrote:
> Does mpmath have any built-in routines to calculate QR matrix
> decompositions?  All I'm able to find is qr_solve but that doesn't
> actually calculate Q or R which I need for constrained least squares.
> Any suggestions?

Hi Ken,

Unfortunately, there's no such function provided currently. It would
be a welcome contribution.

Fredrik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ken  
View profile  
 More options Mar 28 2012, 1:01 pm
From: Ken <ken.al...@sbcglobal.net>
Date: Wed, 28 Mar 2012 10:01:58 -0700 (PDT)
Local: Wed, Mar 28 2012 1:01 pm
Subject: Re: QR decomposition in mpmath?
I'm working on a QR function that should be ready soon.  How would I
go about submitting it for consideration?

Ken


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fredrik Johansson  
View profile  
 More options Mar 28 2012, 1:48 pm
From: Fredrik Johansson <fredrik.johans...@gmail.com>
Date: Wed, 28 Mar 2012 19:48:02 +0200
Local: Wed, Mar 28 2012 1:48 pm
Subject: Re: QR decomposition in mpmath?

On Wed, Mar 28, 2012 at 19:01, Ken <ken.al...@sbcglobal.net> wrote:
> I'm working on a QR function that should be ready soon.  How would I
> go about submitting it for consideration?

Great! You can attach a patch to the issue tracker (or send it to this
list), or preferably send a pull request on github
(https://github.com/fredrik-johansson/mpmath).

Fredrik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ken  
View profile  
 More options Mar 29 2012, 12:21 am
From: Ken <ken.al...@sbcglobal.net>
Date: Wed, 28 Mar 2012 21:21:45 -0700 (PDT)
Local: Thurs, Mar 29 2012 12:21 am
Subject: Re: QR decomposition in mpmath?
OK, I attached a file to the issue tracker (sorry, github looked way
too complicated).  The algorithm factors A -> Q, R or A -> L, Q
depending on the dimensions of A.  The only restriction is m > 1 and n
> 1.  The matrix A can have any content (even all zeros).  I've tested

it on over 200k random sized matrices (m > n, m = n, m < n) with
random integers and floats, sprinkled with rows and columns of zeros,
duplicate rows and columns, and all zeros.  So far no errors.  I hope
the algorithm is a useful contribution.
Ken

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »