[Numpy-discussion] Matlab page on scipy wiki

Colin J. Williams cjw at sympatico.ca
Fri Feb 10 08:26:06 EST 2006


David M. Cooke wrote:

>Bill Baxter <wbaxter at gmail.com> writes:
>
>  
>
>>Some kind soul added 'svd' and 'inv' to the NumPy/SciPi columns, but those
>>don't seem to be defined, at least for the versions of NumPy/SciPy that I
>>have.    Are they new?  Or are they perhaps defined by a 3rd package in your
>>environment?
>>    
>>
>
>They're in numpy.linalg.
>
>  
>
>>By the way, is there any python way to tell which package a symbol is coming
>>from?
>>    
>>
>
>Check it's __module__ attribute.
>
>  
>
Yes, but not all objects have this attribute and some do not yet have a 
docstring. 

Colin W.





More information about the NumPy-Discussion mailing list