[SciPy-user] Matlab to numpy

Nils Wagner nwagner at iam.uni-stuttgart.de
Thu Jun 22 11:05:57 EDT 2006


David Douard wrote:
> On Thu, Jun 22, 2006 at 03:49:16PM +0200, Nils Wagner wrote:
>   
>> David Douard wrote:
>>     
>>> On Thu, Jun 22, 2006 at 01:59:45PM +0200, Nils Wagner wrote:
>>>   
>>>       
> [snip]
>   
>>>   
>>>       
>> Thank you very much.
>> And what is equivalent to a so-called economy size decomposition ?
>>
>> [Q,R] = qr(A,0)
>>     
>
> look at the qr function of scipy.linalg, eg.
>
> import scipy
> help(scipy.linalg.qr)
>
> (see $PYTHONPATH/scipy/linalg/decomp.py for more details)
>
> David
>
>
>   
The economy size decomposition means that if A is an m \ŧimes n matrix
with m > n then only the first n columns of Q are computed.

linalg.qr computes a full QR decomposition.

Nils

>> Nils
>>
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user at scipy.net
>> http://www.scipy.net/mailman/listinfo/scipy-user
>>     
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>   


 




More information about the SciPy-User mailing list