User:Jarle Pahr/Computation
Notes on computational software and scientific programming:
Concepts
http://figshare.com/articles/Towards_better_practice_for_scientific_computing/745262
Software
http://amca01.wordpress.com/2011/08/31/the-best-matlab-alternative/
Comparison of MATLAB, Octave, Freemat and Scilab: http://userpages.umbc.edu/~gobbert/papers/SharmaGobbertTR2010.pdf
GNU Octave
Freemat
Scilab: http://www.scilab.org/
SAGE: http://www.sagemath.org/
See also http://openwetware.org/wiki/MATLAB
Scientific computation using Python
http://mathesaurus.sourceforge.net/
Numpy
Arrays vs. matrixes:
In arrays:
Mathematical operations are element-wise. Matrix multiplication is accomplished with numpy.dot()
Matrixes:
- Must be two-dimensional
- Multiplication and exponentiation are matrix operations.
- Element-wise multiplication is accomplished with numpy.multiply()
asmatrix() converts an array to a matrix. asarray() converts a matrix to an array.
SciPy
Scientific computation module dependent on NumPy
SciPy cookbook: http://www.scipy.org/Cookbook