Skip to content

vector

a list of numbers or quantities, a point or a direction

1
# in brackets
2
[1, 2, 3]
3
# with units
4
[3 m, 4 m]
Example outputCtrl+Enter to run
  • dot the dot product: multiply matching items of two equal-length vectors and add the results
  • cross the cross product of two 3D vectors: a vector at right angles to both
  • norm the length of a vector: the square root of the sum of its squared items
  • triple the 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.