[Numpy-discussion] How can I change the following code from Numeric to numarry?

Todd Miller jmiller at stsci.edu
Wed Nov 10 15:47:01 CST 2004


On Wed, 2004-11-10 at 18:24, Tony H. Liu wrote:
> Hello, 
> 
> Thanks in advance. Because I met some problem with Numeric.
> 
>  #!/usr/local/bin/python
>  from Numeric import reshape, transpose, exp    

from numarray import reshape, transpose, exp    

>                      
>  from LinearAlgebra import solve_linear_equations

from numarray.linear_algebra import solve_linear_equations


Todd





More information about the Numpy-discussion mailing list