Vectors in Rascal: In Rascal vectors are are either line vectors like [1 2 3] or row vectors like [1;2;3], and depending on their orientation or if they are being transposed using the "'" you can achieve different results: >x=[1 2 3]; >y=x' [1;2;3] >x*y [14] >y*x [1 2 3;2 4 6;3 6 9] Actually vectors are just special matrices thus you may find the help topic matrix interesting as well.