hi,
what is the difference among numeric, numpy and numarray? i'm going to start
using matplotlib soon and i'm not sure which one i should use.
this page says, "Numarray is a reimplementation of an older Python array module
called Numeric" http://www.stsci.edu/resources/softw...dware/numarray
this page says, "NumPy derives from the old Numeric code base and can be used as
a replacement for Numeric." http://numeric.scipy.org/
i looked at the matplotlib examples today and if i remember correctly, the
examples didn't use numarray.
so i'm a bit confused.
thanks,
bryan 10 2213
Bryan wrote: hi,
what is the difference among numeric, numpy and numarray? i'm going to start using matplotlib soon and i'm not sure which one i should use.
this page says, "Numarray is a reimplementation of an older Python array module called Numeric" http://www.stsci.edu/resources/softw...dware/numarray
this page says, "NumPy derives from the old Numeric code base and can be used as a replacement for Numeric." http://numeric.scipy.org/
i looked at the matplotlib examples today and if i remember correctly, the examples didn't use numarray.
so i'm a bit confused.
thanks,
bryan
Look again at numeric.scipy.o rg, and this time: read the whole page,
especially the section called "Older Array Packages".
Simon Percivall wrote: Bryan wrote: hi,
what is the difference among numeric, numpy and numarray? i'm going to start using matplotlib soon and i'm not sure which one i should use.
Look again at numeric.scipy.o rg, and this time: read the whole page, especially the section called "Older Array Packages".
In particular, ignore any references to SciPy Core... Not to mention
anything regarding older NumPy, which is nothing to do with newer
NumPy, which is why common libraries (such as PyOpenGL) ask for NumPy
v23 when the latest download on SourceForge is 0.9.8.
Numeric libraries in Python are a nomenclatural nightmare. It's well
past time that something made it into the standard library, I feel.

Ben Sizer
Simon Percivall wrote: Bryan wrote: hi,
what is the difference among numeric, numpy and numarray? i'm going to start using matplotlib soon and i'm not sure which one i should use.
this page says, "Numarray is a reimplementation of an older Python array module called Numeric" http://www.stsci.edu/resources/softw...dware/numarray
this page says, "NumPy derives from the old Numeric code base and can be used as a replacement for Numeric." http://numeric.scipy.org/
i looked at the matplotlib examples today and if i remember correctly, the examples didn't use numarray.
so i'm a bit confused.
thanks,
bryan
Look again at numeric.scipy.o rg, and this time: read the whole page, especially the section called "Older Array Packages".
at the end of that page, it says:
"Numarray is another implementation of an arrayobject for Python written after
Numeric and before NumPy. Sponsors of numarray have indicated they will be
moving to NumPy as soon as is feasible for them so that eventually numarray will
be phased out."
on the python wiki
"NumArray is the current reimplementatio n of NumPy." http://wiki.python.org/moin/NumArray
so, was Numarray written *before* NumPY, or was it a reimplementatio n of NumPy
which implies it came *after* NumPy? it seems clear that Numeric is the old one
and i read is not being worked on anymore. so that leaves Numarray and numpy.
which of these two should i use?
thanks,
bryan
Bryan wrote: at the end of that page, it says:
"Numarray is another implementation of an arrayobject for Python written after Numeric and before NumPy. Sponsors of numarray have indicated they will be moving to NumPy as soon as is feasible for them so that eventually numarray will be phased out."
on the python wiki "NumArray is the current reimplementatio n of NumPy." http://wiki.python.org/moin/NumArray
so, was Numarray written *before* NumPY, or was it a reimplementatio n of NumPy which implies it came *after* NumPy? it seems clear that Numeric is the old one and i read is not being worked on anymore. so that leaves Numarray and numpy. which of these two should i use?
Bryan,
NumPy is the name of both an old package and a new package. I believe
that NumArray came after the first incarnation, but that the new
incarnation of NumPy is the most recent, and is probably the one you
want.

Ben Sizer
Ben Sizer wrote: Bryan wrote:
at the end of that page, it says:
"Numarray is another implementation of an arrayobject for Python written after Numeric and before NumPy. Sponsors of numarray have indicated they will be moving to NumPy as soon as is feasible for them so that eventually numarray will be phased out."
on the python wiki "NumArray is the current reimplementatio n of NumPy." http://wiki.python.org/moin/NumArray
so, was Numarray written *before* NumPY, or was it a reimplementatio n of NumPy which implies it came *after* NumPy? it seems clear that Numeric is the old one and i read is not being worked on anymore. so that leaves Numarray and numpy. which of these two should i use?
Bryan,
NumPy is the name of both an old package and a new package. I believe that NumArray came after the first incarnation, but that the new incarnation of NumPy is the most recent, and is probably the one you want.
thanks ben,
i'll use NumPy then. just wish it was clear and obvious which one to use so i
wouldn't have had to ask this question here.
bryan
>>>>> "Bryan" == Bryan <be****@gmail.c om> writes:
Bryan> hi, what is the difference among numeric, numpy and
Bryan> numarray? i'm going to start using matplotlib soon and i'm
Bryan> not sure which one i should use.
numpy is the successor to numarray and Numeric. All three do
basically the same thing. You should use numpy.
matplotlib works with all three, you just need to be sure to set your
"numerix" setting to "numpy" in your matplotlibrc file.
numerix : numpy # numpy, Numeric or numarray
On unix like OSes, this file is placed in ~/.matplotlib. On windows
systems, it is usually found in C:\Documents and
Settings\yourna me\.matplotlib
JDH
Bryan <be****@gmail.c om> writes: on the python wiki "NumArray is the current reimplementatio n of NumPy." http://wiki.python.org/moin/NumArray
so, was Numarray written *before* NumPY, or was it a reimplementatio n of NumPy which implies it came *after* NumPy?
I clarified that wiki page to use the name "Numeric" for the old
version, and to point out that there is "Numpy" which is even newer
than numarray.
Dan
Bryan <be****@gmail.c om> wrote:
... so, was Numarray written *before* NumPY, or was it a reimplementatio n of NumPy which implies it came *after* NumPy? it seems clear that Numeric is the old one and i read is not being worked on anymore. so that leaves Numarray and numpy. which of these two should i use?
I'll voice a heretic thought: me, I'm sticking with good old Numeric
until the situation with the newer packages settles down. Yes, Numeric
is not being developed any more, but to me that also means it won't
"change under me" and break something... and, it serves my personal
computational needs until something equally stable finally arrives. (Of
course, if and when I hit some bug in Numeric that will never be solved,
or need some other addon package which in turn demands a different
numericarraycomputation underpinning, I'll have to change, but, so
far, I have not found myself in either of these situations).
Alex
"Alex Martelli" <al***@mac.comw rote in message
news:1h******** *************** **@mac.com...
I'll voice a heretic thought: me, I'm sticking with good old Numeric
until the situation with the newer packages settles down.
Not much of a heresy, I think. The numpy site recommends that *new* users
start with numpy but I don't remember the numeric/numpy folks recommending
that happy, experienced numeric users dump it yet. The current development
version of numpy is still labelled as a development version (0.9.8, I
believe) and besides bug fixes, it still made a few tweeks in the user
interface and CAPI from the previous version. They are aiming to release
a stable NumPy 1.0 by the end of the summer. Then maybe they will start
pushing it, along with a compatible array interface for Python.
Terry Jan Reedy This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics 
by: Jive 
last post by:
Here's my sitch:
I use gnuplot.py at work, platform Win32. I want to upgrade to Python 2.4.
Gnuplot.py uses extension module Numeric. Numeric is now "unsupported."
The documentation says "If you are new to Numerical Python, please use
Numarray.". It's not that easy, dangit. The download page for numpy does
not contain a 2.4 version of...

by: Cedric 
last post by:
This is a 3 weeks old problem, but having found a solution (and having
looked for one here, finding only this message), I'm replying now.
From: Jive (someone@microsoft.com)
Subject: Upgrade woes: Numeric, gnuplot, and Python 2.4
Date: 20041211 18:45:10 PST
> Here's my sitch:
>
> I use gnuplot.py at work, platform Win32.
> I want to...

by: J 
last post by:
Hi
I hope the title of this message indicates my question. I am looking
for basic
array functionality in Python and it turns out that there are all these
packages which
are somehow related. Some are allegedly discontinued but still seem to
get updated. Could we start a discussion about which package will or
may or should survive ?

by: robert 
last post by:
just a note  some speed comparisons :
0.60627370238398726
0.42836673376223189
0.36965815487747022
0.016557970357098384
0.15692469294117473
0.01951756438393204

by: Chris Smith 
last post by:
Howdy,
I'm a college student and for one of we are writing programs to
numerically compute the parameters of antenna arrays. I decided to use
Python to code up my programs. Up to now I haven't had a problem,
however we have a problem set where we are creating a large matrix and
finding it's inverse to solve the problem. To invert the matrix...
 
by: auditory 
last post by:
I am a newbie here
I am trying to read "space separated floating point data" from file
I read about csv module by searching this group,
but I couldn't read space separated values with csv.
(which may be matter of course..)
I also read about numpy.fromfile(file, sep=' ') which i can use.
but on my machine(ubuntu linux) numpy is unknown...

by: Christian Convey 
last post by:
I need to bang out an image processing library (it's schoolwork, so I
can't just use an existing one). But I see three libraries competing
for my love: numpy, numarray, and numeric.
Can anyone recommend which one I should use? If one is considered the
officially blessed one going forward, that would be my ideal.
Thanks,
Christian

by: Erik Johnson 
last post by:
I am just starting to explore doing some scientific type data analysis
using Python, and am a little confused by the different incarnations of
modules (e.g., try Google("Python numeric").
There is SciPy, NumPy, NumArray, Numeric... I know some of these are
related and some are separate, some are oudated, etc. but can someone sort
of give a...

by: ZMY 
last post by:
Dear all,
I am a real newbie for both python and QNX, but I am still trying to
compile Numeric24.2 under QNX4.25 with python 2.2. I got following
error message:
$ sudo python setup.py install
Password:
running install

by: marktang 
last post by:
ONU (Optical Network Unit) is one of the key components for providing highspeed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...

by: Hystou 
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
 
by: Oralloy 
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bitfields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...

by: tracyyun 
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, ZWave, WiFi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...

by: isladogs 
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...

by: conductexam 
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...

by: TSSRALBI 
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LANtoLAN VPNs.
The last exercise I practiced was to create a LANtoLAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...

by: muto222 
last post by:
How can i add a mobile payment intergratation into php mysql website.
 
by: bsmnconsultancy 
last post by:
In today's digital era, a welldesigned website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
 