Programmer Guide/SPU Reference/DOT: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
m (1 revision: Initial import)
(No difference)

Revision as of 17:31, 18 November 2010

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