Programmer Guide/SPU Reference/ACNV: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 19: Line 19:
:::<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'' (&ge;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'' (&ge;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,.
 
:;extract specified column:
::<var>OP</var>=<code>0</code> or <code>column</code>, <code>0</code>&le;<var>I</var>&lt;number of input columns
:::<var>Y<sub>vector</sub></var> = <var>X</var>[*,<var>I</var>]
::In the evaluation cycle ''t'' (&ge;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,.
;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:07, 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 or column, 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 or column, 0I<number of input columns
Yvector = X[*,I]
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>

Navigation menu

Personal tools