Programmer Guide/SPU Reference/ACNV: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
::<var>OP</var>=<code>0</code> or <code>column</code>, <code>0</code>≤<var>I</var><number of input columns | ::<var>OP</var>=<code>0</code> or <code>column</code>, <code>0</code>≤<var>I</var><number of input columns | ||
:::<var>Y<sub>vector</sub></var> = <var>X</var>[*,<var>I</var>] | :::<var>Y<sub>vector</sub></var> = <var>X</var>[*,<var>I</var>] | ||
::In | ::In each evaluation cycle, the column <var>I</var> of matrix <var>X</var> is copied to the output vector <var>Y</var>. The length of the output vector is equal to the number of input rows,. | ||
;See also: | ;See also: | ||
<[[../#Signal Processing Atoms|SP-atoms]]> | <[[../#Signal Processing Atoms|SP-atoms]]> | ||
<!-- AN, 2.5.2011 --> | <!-- AN, 2.5.2011 --> |
Revision as of 11:09, 6 May 2011
Special matrix operations.
[SPU ACNV X OP I OUT Y]
In: | X | input matrix |
---|---|---|
OP | a number or string; selects operation to be performed | |
I | optional row or column index | |
Out: | Y | vector or matrix; depends on OP and I |
- Description
-
- extract columns
- OP=
0
orcolumn
, I is not connected- Yvector = X[*,t]
- In the evaluation cycle t (≥0), the column t of matrix X is copied to the output vector Y. The length of the output vector is equal to the number of input rows,.
- extract specified column
- OP=
0
orcolumn
,0
≤I<number of input columns- Yvector = X[*,I]
- In each evaluation cycle, the column I of matrix X is copied to the output vector Y. The length of the output vector is equal to the number of input rows,.
- See also
<SP-atoms>