DOT

From STX Wiki
< Programmer Guide‎ | SPU Reference
Revision as of 18:31, 18 November 2010 by Admin (talk | contribs) (1 revision: Initial import)
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