Debian Codegraph @

opcodes/setcol.xml

raw symbols SCIP
1 <refentry id="setcol">
2 <indexterm id="IndexSetcol"><primary>setcol</primary></indexterm>
3 <refentryinfo><title>Array Opcodes</title></refentryinfo>
4 <refmeta>
5 <refentrytitle>setcol</refentrytitle>
6 </refmeta>
7
8 <refnamediv>
9 <refname>setcol</refname>
10 <refpurpose>
11 Sets a given column of a 2-dimensional array from a vector.
12 </refpurpose>
13 </refnamediv>
14
15 <refsect1>
16 <title>Description</title>
17 <para>
18 Sets a given column of a 2-dimensional array. The output is an 2-d array with the contents of the requested column set to values of the input array (1-d; if 2-d the first row of the input array is used).
19 </para>
20 </refsect1>
21
22 <refsect1>
23 <title>Syntax</title>
24 <synopsis>i/kout[] <command>setcol</command> i/kin[],i/kcol</synopsis>
25 </refsect1>
26
27 <refsect1>
28 <title>Initialization</title>
29 <para>
30 <emphasis>iout[]</emphasis> -- output array containing the extracted column. It will be created if it does not exist.
31 </para>
32 <para>
33 <emphasis>iin[]</emphasis> -- input array.
34 </para>
35 <para>
36 <emphasis>icol</emphasis> -- column to be extracted.
37 </para>
38 </refsect1>
39
40 <refsect1>
41 <title>Performance</title>
42 <para>
43 <emphasis>kout[]</emphasis> -- output array containing the set column. It will be created if it does not exist.
44 </para>
45 <para>
46 <emphasis>kin[]</emphasis> -- input array.
47 </para>
48 <para>
49 <emphasis>kcol</emphasis> -- column to be set.
50 </para>
51 </refsect1>
52
53 <refsect1>
54 <title>Examples</title>
55 <para>
56 Here is an example of the setcol opcode. It uses the file <ulink
57 url="examples/setcol.csd"><citetitle>setcol.csd</citetitle></ulink>.</para>
58
59 <example>
60 <title>Example of the setcol opcode.</title>
61
62 <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
63 <xi:include href="examples-xml/setcol.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
64 </example>
65 </refsect1>
66
67 <refsect1>
68 <title>See Also</title>
69 <para>
70 <link linkend="vectorial"><citetitle></citetitle>Vectorial opcodes</link>
71 <link linkend="arrayOpcodes"><citetitle></citetitle>array opcodes</link>
72 </para>
73 </refsect1>
74
75 <refsect1>
76 <title>Credits</title>
77 <para>
78 <simplelist>
79 <member>Author: &namevictor;</member>
80 <member>NUI Maynooth</member>
81 <member>2014</member>
82 </simplelist>
83 </para>
84 <para>New in version 6.04</para>
85 </refsect1>
86 </refentry>