https://gist.github.com/4192561
Just a quick test library I made to add some NumPy features to normal Python lists and make it slightly easier to deal with numeric stuff in Pythonista.
Features:
* unary and binary operators (e.g. array([1,2,3]) + array([4, 5, 6]))
* indexing with boolean and integer arrays (e.g. x[x > 10])
* vectorizes the math library (e.g. sin([1, 2, 3]))
* a few NumPy functions like arange, linspace, zeros, etc.
See the main() function at the end of the file for some examples.
Note that all operations will still be slow as everything is done in Python. Also the code hasn't been fully tested, so some things may not work.
If we can tweak the sample plotting code in Pythonista to mimic Matplotlib a bit, then we can probably come up with a usable platform for basic scientific stuff.