[Numpy-discussion] Matlab/Numeric/numarray benchmarks

Peter Chang Peter.Chang at nottingham.ac.uk
Thu Jan 20 08:14:09 CST 2005


On Thu, 20 Jan 2005, Jason Rennie wrote:
> It's Simon Burton's benchmark.py and bench.m code.  Only modification
> I made was to move the imports to the top.  Matlab code is identical.
> See attached for the exact code.

There are errors in benchmark.py and the Matlab code isn't identical:

1) a missing division by count in test01()
2) a different default value for count in test11()

3) the Matlab code uses normally distributed random numbers whereas the
Numeric/numarray code uses uniformlt distributed random numbers.

Peter



This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.





More information about the Numpy-discussion mailing list