From: <fcc...@fi...> - 2004-10-04 14:43:28
|
On Monday 04 October 2004 09:27, Jon Peirce wrote: > On my AMD64 (using pre-compiled version as packaged by enthought) I get > > the expected results from RandomArray under Numeric ie: > >>> from RandomArray import * > >>> normal(2,2,10) > > array([-0.43560529, 2.67296922, 0.84804749, 4.26332831, 0.64425385, > 3.43939352, > 4.07021809, 3.6235764 , 2.93580639, 1.81101392]) > > Jon Jon, was you pre compiled Numeric compile for amd64 or for x86? I think this is a result of the compilation . Flavio > > >Message: 3 > >From: =?iso-8859-1?q?Fl=E1vio_Code=E7o_Coelho?= <fcc...@fi...> > >Organization: PROCC-Fiocruz > >To: mat...@li... > >Date: Fri, 1 Oct 2004 17:06:10 +0000 > >Subject: [Matplotlib-users] warning: Numeric and amd64 > > > >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 message has been scanned but we cannot guarantee that it and any > attachments are free from viruses or other damaging content: you are > advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > > ------------------------------------------------------- > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |