[Numpy-discussion] generalized_inverse

Travis Oliphant oliphant.travis at ieee.org
Sat Jul 15 23:06:07 CDT 2006


Victoria G. Laidler wrote:
> Sven Schreiber wrote:
>
>   
>> Jon Peirce schrieb:
>>  
>>
>>     
>>> There used to be a function generalized_inverse in the numpy.linalg 
>>> module (certainly in 0.9.2).
>>>
>>> In numpy0.9.8 it seems to have been moved to the numpy.linalg.old 
>>> subpackage. Does that mean it's being dropped? Did it have to move? Now 
>>> i have to add code to my package to try both locations because my users 
>>> might have any version... :-(
>>>
>>>
>>>    
>>>
>>>       
>> Maybe I don't understand, but what's wrong with numpy.linalg.pinv?
>>  
>>
>>     
> Er, what's a pinv? It doesn't sound anything like a generalized_inverse.
>
>   
'pseudo'-inverse.
 
It's the name MATLAB uses for the thing.    There are many choices for a 
"generalized_inverse" which is actually a mis-nomer for what is being 
done.  The Moore-Penrose pseudo-inverse is a particular form of the 
generalized_inverse (and the one being computed).

-Travis





More information about the Numpy-discussion mailing list