~~~~~~~~~~~~~~~~~~~~~~
| Mathematica Cheat-Sheet. |
~~~~~~~~~~~~~~~~~~~~~~
Author: Varun Gandhi (vg266)
Function definition
Function application
List are defined using curly brackets { }.
`Map` applies a given function element-wise to a list.
Mathematical functions are automatically threaded over lists.
`Apply` splits a list and feeds the elements to a function.
`Transpose` flips a two-dimensional list like a matrix transpose.
`Range` generates a range starting from 1 to M.
`Array` applies a function to a range of values (= Range + Map)
`Thread` “threads” a function over its argument lists.
Some useful visualization functions include `Plot`, `ListPlot`, `ParametricPlot`, `Plot3D`,
`Manipulate` and `Animate` (there are a lot more).
MUST-READ: https://mathematica.stackexchange.com/questions/18393/what-are-the-most-common-pitfalls-awaiting-new-users