MIX
From STX Wiki
Jump to navigationJump to search
Contents
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