DOT

From STX Wiki
Jump to navigationJump to search

DOT - dot product

Usage:

DOT A B

Inputs:
A number or vector
B same type as A
Outputs:
Y dot product A.B (number)
Function:

Compute the dot product of A and B.

if A and B are numbers: Y = A.B
if A and B are vectors: Y = A[0].B[0] + ... + A[n-1].B[n-1];
B

Navigation menu

Personal tools