Programmer Guide/SPU Reference/MIX: Difference between revisions
From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import) |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
Sum of elements of input <var>A</var>. | |||
==<code>[SPU MIX <var>A KA B KB</var> OUT <var>Y</var>]</code>== | |||
== | {|class="einrahmen" | ||
!In !!Out !!Description | |||
<code>MIX <var>A KA B KB</var></code> | |||
{| | |||
|- | |- | ||
|A | |<var>A<sub>number</sub></var>, <var>B<sub>number</sub></var> | ||
| | |<var>Y<sub>number</sub></var> | ||
|<math>Y=A.KA+B.KB</math> | |||
|- | |- | ||
| | |<var>A<sub>vector</sub></var>, <var>B<sub>vector</sub></var> | ||
|<var>Y<sub>vector</sub></var> | |||
|<math>Y[i]=A[i].KA+B[i].KB</math> | |||
| | |||
| | |||
|} | |} | ||
with: 0 ≤ i < length of <var>A<sub>vector</sub></var> | |||
;See also: | |||
<[[../#Signal Processing Atoms|SP-atoms]]> | |||
<!-- AN, 2.5.2011 --> | |||
Revision as of 09:23, 6 May 2011
Sum of elements of input A.
[SPU MIX A KA B KB OUT Y]
In | Out | Description |
---|---|---|
Anumber, Bnumber | Ynumber | |
Avector, Bvector | Yvector |
with: 0 ≤ i < length of Avector
- See also
<SP-atoms>