Favicon

Co-existing Numeric and numpy?

Hi,

We have some older 3rd party packages that require Numeric (24.2), but like to also use newer
3rd party packages that require a recent numpy. Can Numeric and numpy co-exist in the same
process? -- I'm mainly worried about clashes at the C API level.

Thanks!

Ralf
Christopher Barker | 3 Oct 21:12
Favicon

Re: Co-existing Numeric and numpy?

Ralf W. Grosse-Kunstleve wrote:
> We have some older 3rd party packages that require Numeric (24.2), but like to also use newer
> 3rd party packages that require a recent numpy. Can Numeric and numpy co-exist in the same
> process? -- I'm mainly worried about clashes at the C API level.

nope, there are no problems. In fact, converting between the two arrays 
types with asarray() works very efficiently.

I sure wish everyone would make the transition, though.

-Chris

--

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker <at> noaa.gov
Favicon

Re: Co-existing Numeric and numpy?

Thank you very much for the information!
There are weird but important reasons why we are stuck with Numeric 24.2 for the
foreseeable future. It is extremely valuable that you provide a smooth upgrade
path.
Ralf

----- Original Message ----
From: Christopher Barker <Chris.Barker <at> noaa.gov>
To: Discussion of Numerical Python <numpy-discussion <at> scipy.org>
Sent: Friday, October 3, 2008 12:12:48 PM
Subject: Re: [Numpy-discussion] Co-existing Numeric and numpy?

Ralf W. Grosse-Kunstleve wrote:
> We have some older 3rd party packages that require Numeric (24.2), but like to also use newer
> 3rd party packages that require a recent numpy. Can Numeric and numpy co-exist in the same
> process? -- I'm mainly worried about clashes at the C API level.

nope, there are no problems. In fact, converting between the two arrays 
types with asarray() works very efficiently.

I sure wish everyone would make the transition, though.

-Chris

--

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
(Continue reading)


Gmane