Programmer Guide/SPU Reference/SUM: 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}}}} | ||
Difference of inputs <var>A</var> and <var>B</var>. | |||
==<code>[SPU SUM <var>A</var> OUT <var>Y</var>]</code>== | |||
== | {|class="einrahmen" | ||
!In !!Out !!Description | |||
<code>SUM <var>A</var></code> | |||
{| | |||
|- | |- | ||
|A | |<var>A<sub>number</sub></var> | ||
|<var>Y<sub>number</sub></var> | |||
|<var>Y</var> = <var>A</var> | |||
|<var>Y</var> | |||
| | |||
|- | |- | ||
| | |<var>A<sub>vector</sub></var> | ||
|Y | |<var>Y<sub>number</sub></var> | ||
|<var>Y</var> = <math>\sum_{i=0}^{n-1}<var>A</var>[i]</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 08:08, 6 May 2011
Difference of inputs A and B.
[SPU SUM A OUT Y]
In | Out | Description |
---|---|---|
Anumber | Ynumber | Y = A |
Avector | Ynumber | Y = |
with: 0 ≤ i < length of Avector
- See also
<SP-atoms>