(no title)
nferraz | 12 years ago
The reason I wrote this script was to get quick results from the command line.
For instance: I could use grep, cut and other unix tools to get the numbers from a file and make quick calculations.
Of course, for complex processing I would use octave or R.
Sprint|12 years ago
I am sure your approach is much quicker, octave takes a good 0.5s(!) to load on my machine.
nferraz|12 years ago
Regarding speed, for simple calculations like sum, mean and variance, the bottleneck is in I/O.