Programmer Guide/SPU Reference/ACNV: Difference between revisions
From STX Wiki
Jump to navigationJump to search
(Created page with '{{DISPLAYTITLE:{{SUBPAGENAME}}}} Special matrix operations. ==<code>[SPU ACNV <var>X OP I</var> OUT <var>Y</var>]</code>== {|class="einrahmen" !In: |<var>X</var>||input matrix |-…') |
No edit summary |
||
Line 16: | Line 16: | ||
;Description: | ;Description: | ||
:;extract columns: | :;extract columns: | ||
::<var>OP</var>=<code>0</code> or <code>column</code> | ::<var>OP</var>=<code>0</code> or <code>column</code>, <var>I</var> is not connected | ||
:::<var>Y<sub>vector</sub></var> = <var>X</var>[*,''t''] | |||
::<var>Y<sub>vector</sub></var> = <var>X</var>[*,''t''] | |||
::In the evaluation cycle ''t'' (≥0), the column ''t'' 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,. | ::In the evaluation cycle ''t'' (≥0), the column ''t'' 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,. | ||
Revision as of 11:05, 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,.
- See also
<SP-atoms>