[SciPy-user] What is fastest load/save matrix methods?
Dave Kuhlman
dkuhlman at cutter.rexx.com
Tue Dec 20 14:22:29 EST 2005
On Mon, Dec 19, 2005 at 10:46:20PM -0800, Andrew Straw wrote:
> Cournapeau David wrote:
[snip]
> >Is there no way to convert numarray to scipy more directly than
> >going through list ? Concerning implementing scipy array support, what
> >is the difference between scipy array and numarray ?
> >
> >
>
> With sufficiently recent versions of scipy, Numeric, and numarray,
> y=numstar.asarray(x) will create a view of the array with no copying,
> which is pretty fast.
>
> "Sufficiently recent" means released within the last 2 months or so.
Thanks for helping me with this.
To give a little more information on what "Sufficiently recent"
means:
1. numarray-1.4.1 supports that numarray.asarray() function, but
gives a warning message the first time it is called on a scipy
array and produces a type error when used to pass a scipy
array to PyTables.
2. numarray-1.5.0 works just fine. It is available at:
http://sourceforge.net/projects/numpy
http://sourceforge.net/forum/forum.php?forum_id=518279
Dave
--
Dave Kuhlman
http://www.rexx.com/~dkuhlman
More information about the SciPy-User
mailing list