Re: Counting list elements above/below a given value
- To: mathgroup at smc.vnet.net
- Subject: [mg17328] Re: [mg17202] Counting list elements above/below a given value
- From: Paul Abbott <paul at physics.uwa.edu.au>
- Date: Fri, 30 Apr 1999 23:22:42 -0400
- Organization: University of Western Australia
- References: <7gbkfo$l0a@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Tomas Garza wrote: > Third, either you have a very slow machine or you are exceedingly greedy > with your computer time. As an example, I use a 1000 x 1000 matrix, which is > far greater than the one you have in your problem, and obtain the following > results (suppose value = 500): > > In[1]:= > listA=Table[{Random[Integer,{1,1000}],Random[Integer,{1,1000}]},{1000}]; But this is only a list of size 1000x2? I think Mathematica will be rather slower when operating on a 1000x1000 matrix ... Cheers, Paul ____________________________________________________________________ Paul Abbott Phone: +61-8-9380-2734 Department of Physics Fax: +61-8-9380-1014 The University of Western Australia Nedlands WA 6907 mailto:paul at physics.uwa.edu.au AUSTRALIA http://www.physics.uwa.edu.au/~paul God IS a weakly left-handed dice player ____________________________________________________________________