Numerical Recipes Forum  

Go Back   Numerical Recipes Forum > Obsolete Editions Forum > General Computing and Open Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 02-08-2005, 01:09 AM
eigen eigen is offline
Member
 
Join Date: Feb 2005
Posts: 1
Exclamation pseudo inverse matrix calculation

Hi All. Is there anyone out there who knows an algorithm to calculate the pseudo-inverse of a matrix? Thanks!
Reply With Quote
  #2  
Old 04-25-2005, 09:03 AM
evgeny evgeny is offline
Registered User
 
Join Date: Apr 2005
Posts: 25
For non-singular square matrices, the pseudoinverse is equivalent to the standard inverse.
Using SVD singular value decomposition A=Transpose[U].W.V,
it is possible to define a pseudoinverse for non-square matrices A, or for singular square ones.
The pseudoinverse is defined in SVD terms as

PseudoInverse[A]=Transpose[V].Inverse[W].U

By the way, I need a function for SVD, specially designed for upper-triangular matrices (not dense as svdcmp(), with a non-zeroed main diagonal). I will be appriciate for any reference to algorithm or code.

Evgeny
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:59 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.