[Numpy-discussion] Numeric vs numarray?

Timo Korvola tkorvola at welho.com
Thu Feb 10 09:16:01 EST 2005


Travis Oliphant <oliphant at ee.byu.edu> writes:
> Can somebody show me an example of it's usefulness that could not be
> handled by simply a PyArray_ContiguousFromObject with an explicit
> copy back at the end?

It is not that it could not be done, it is the convenience of having
the library do it for you.  Is there a function in the Numeric C API
that one could use for copying the data back?  Preferably one that
would check that the source and the target are different objects
before copying.

-- 
	Timo Korvola		<URL:http://www.iki.fi/tkorvola>




More information about the NumPy-Discussion mailing list