[OLPC library] MATLAB for OLPC?
M. Edward (Ed) Borasky
znmeb at cesmail.net
Wed Jan 30 22:12:29 EST 2008
Ian Bicking wrote:
> I'm not sure his summary here is true. You can do efficient operations
> over sets of data in Python (actually due to some small tweaks to the
> language requested by NumPy/Numeric users back around the time of Python
> 2.1). So if you do something like "array * 6", it actually does the
> multiplication of items in the array in C. They bend Python's "magic
> methods" quite a bit in NumPy, so things like array access, slicing, and
> multiplication all avoid actually iterating over the arrays or matrixes
> in Python.
1. Python's array handling is the subject of an excellent chapter in
"Beautiful Code". :)
2. I may be wrong, but IIRC NumPy is already installed on the XO by
default! I forget what depends on it, but I think it's there as a
dependency.
More information about the Library
mailing list