Dot Command

Dot( <Vector or List>, <Vector or List> )

Returns the dot product (scalar product) of the two vectors or lists.

Both Dot((1, 3, 2), (0, 3, -2)) and Dot({1, 3, 2}, {0, 3, -2}) yield 5, the scalar product of (1, 3, 2) and (0, 3, -2).

Dot({1, 2}, {2, 3}) yields 8.

See also Cross Command.