MIX

From STX Wiki
< Programmer Guide‎ | SPU Reference
Revision as of 17:31, 18 November 2010 by Admin (talk | contribs) (1 revision: Initial import)
Jump to navigationJump to search

MIX

Usage:

MIX A KA B KB

Inputs:
A input number or vector
KA weighting factor for A (number)
B same type as A
KB weighting factor for B (number)
Outputs:
Y number or vector (same type as A)
Function:

Compute the weight sum of inputs A and B.

if A and B are numbers: Y = A.KA + B.KB

if A and B are vectors: Y[i] = A[i].KA + B[i].KB

Navigation menu

Personal tools