vector
a list of numbers or quantities, a point or a direction
1# in brackets2[1, 2, 3]3# with units4[3 m, 4 m]Example outputCtrl+Enter to run
Functions that take it
Section titled “Functions that take it”dotthe dot product: multiply matching items of two equal-length vectors and add the resultscrossthe cross product of two 3D vectors: a vector at right angles to bothnormthe length of a vector: the square root of the sum of its squared itemstriplethe scalar triple product of three 3D vectors, the signed volume of the box they span
Example results generated on 2026-11-04. Ones using now, today or randomness will differ when you run them.