Re: [Numpy-discussion] Status of Numeric

From: Tom Loredo (loredo_at_somewhere.cornell.edu)
Date: 01/23/04


Date: Fri, 23 Jan 2004 14:18:17 -0500

Paul Dubois wrote:
>
> Having two array classes around is a terrible idea. Once you have two
> popular array classes the entire world bifurcates. This plot package
> accepts those and that FFT accepts these, ad nauseum.

I agree with this sentiment. I write C modules that interface with
arrays, and presently use Numeric, but even with this investment
in Numeric I'd like to see the community as a whole move to numarray.
I don't want to have to keep two different C APIs in my head for
dealing with arrays, one within scipy, the other for numarray.

Speaking as an astronomer (with Python growing increasingly popular
in astronomy), I think it would be Very Bad to have scipy use one
type of array, and much astronomical software use another (numarray
is being developed at Space Tel Science Inst., driven largely by
the needs of astronomers). The Space Tel work is likely to make
astronomers a big part of Python's scientific computing user base,
and thus a big part of scipy's user base. Having to learn two
array APIs (even if just on the C module level) will be an
obstacle to developers and users alike.

-Tom Loredo

-- 
To respond by email, replace "somewhere" with "astro" in the
return address.


Relevant Pages

  • OOF was: State of Forth 200x
    ... dynamically sizeable string class, 1-dimensional and 2-dimensional ... array classes, and an ordered collection class, to ... and certainly not in an OOF way. ... double-double type to the array class is just 5 minutes work, ...
    (comp.lang.forth)
  • Re: Java Newbie struggling with threads
    ... > object the threads could report to and which could also report back to ... (Well, technically, you are passing its reference by value.) ... Array instances are objects like any other; when you "pass an array" you ... It is sometimes useful to know that Array classes are all ...
    (comp.lang.java.programmer)
  • Re: -verbose:class and java.lang.Object[]
    ... the array is a different class from the non-array. ... See the API documentation of the getName() method of Class at ... for a description of the names of array classes. ...
    (comp.lang.java.programmer)