Vdot()

From TinyMUX
Jump to navigation Jump to search


vdot(<vector>,<vector>[,<delim>][,<output delim>])

Returns the dot product of two vectors. The dot product of two vectors is a scalar. (a,b,c) * (x,y,z) = ax + by + cz


Example

> @pemit me=vdot(1 2 3,2 3 4)

20

Related Topics

vmul(), vcross()