[Matplotlib-users] warning: Numeric and amd64

Flávio Codeço Coelho fccoelho at fiocruz.br
Fri Oct 1 12:06:10 CDT 2004


Hi,

look at this:

>>> from RandomArray import *

>>> normal(2,2,10)
 array([ 2.,  2.,  2.,  2.,  2.,  2.,  2.,  2.,  2.,  2.])

This is Numeric 23.1 compiled on my AMD64!!! I ran the same tests on a 32bit 
P4 and it ran fine.
Has anyone else seen this before?

For those that didn't understand, the normal function as called above,  is 
supposed to give me ten samples form a normal distribution with mean = 2 and 
standard deviation = 2

luckily:

>>> from numarray.random_array import *

>>> normal(2,2,10)
array([-0.04525638,  4.31467819, -0.17468357,  5.29377031,  0.84202135,
        5.29593539,  4.69651532,  1.61354655,  1.10839236,  1.7743317 ])

If anybody still needed a reason for switching to numarray, there you go!

I anybody here subscribes the numeric or numarray mailing lists (i.e. if they 
even exist) could you please forward this message to them?

Flavio


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--=-f+ARSKyzBPwKnxDSn4zh--





More information about the Numpy-discussion mailing list