There are versions of Octave for Windows, Mac OS X, and Linux. It can be freely downloaded over the Internet from a number of diffent sites depending on your operating system.
octave: v = [3;2;2] v = 3 2 2 octave: v v = 3 2 2
octave: v' ans = 3 2 2
octave: w = [4;1;2] w = 4 1 2 octave: v+w ans = 7 3 4
octave: v-w ans = -1 1 0
octave: c = 3 c = 3 octave: c*v ans = 9 6 6 octave: c*w ans = 12 3 6
octave: dot(v,w) ans = 18 octave: dot(w,v) ans = 18 octave: dot(v,v) ans = 17 octave: dot(w,w) ans = 21
octave: a = [4;3] a = 4 3 octave: norm(a) ans = 5 octave: v v = 3 2 2 octave: norm(v) ans = 4.1231 octave: w w = 4 1 2 octave: norm(w) ans = 4.5826
octave: l = [1/2;1/2;1/2;1/2] l = 0.50000 0.50000 0.50000 0.50000 octave: norm(l) ans = 1
octave: u = [1;1;1] u = 1 1 1 octave: dot(u,u) ans = 3 octave: v v = 3 2 2 octave: dot(u,v) ans = 7 octave: w w = 4 1 2 octave: dot(u,w) ans = 7
Multivariate Course Page
Phil Ender, 22oct03