Julia & Ijulia Cheat-Sheet (For 18.Xxx at Mit) : Basics: Arithmetic and Functions of Numbers
Julia & Ijulia Cheat-Sheet (For 18.Xxx at Mit) : Basics: Arithmetic and Functions of Numbers
xxx at MIT)
Basics:
run Julia online
github.com/stevengj/julia-mit
installation & tutorial
ipython notebook
start IJulia browser
shift-return
execute input cell in IJulia
julialang.org
documentation;
juliabox.org
Defining/changing variables:
define variable x to be 3
[1,2,3] array/column-vector (1,2,3)
[1 2 3] 13 row-vector (1,2,3)
x =
besselj(2,6)
abs(-5), abs(2+3im)
sin(5pi/3)
e12
log(3), log10(100)
x = 3
y =
A = [1 2 3 4; 5 6 7 8; 9 10 11 12]