Debian Codegraph @

opcodes/getcol.xml

raw symbols SCIP
1 <refentry id="getcol">
2 <indexterm id="IndexGetcol"><primary>getcol</primary></indexterm>
3 <refentryinfo><title>Array Opcodes</title></refentryinfo>
4 <refmeta>
5 <refentrytitle>getcol</refentrytitle>
6 </refmeta>
7
8 <refnamediv>
9 <refname>getcol</refname>
10 <refpurpose>
11 Gets a given column from a 2-dimensional array as a vector.
12 </refpurpose>
13 </refnamediv>
14
15 <refsect1>
16 <title>Description</title>
17 <para>
18 Gets a given column from a 2-dimensional array. The output is an 1-d array with the contents of the requested column
19 </para>
20 </refsect1>
21
22 <refsect1>
23 <title>Syntax</title>
24 <synopsis>i/kout[] <command>getcol</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 2-dimensional array.
34 </para>
35 <para>
36 <emphasis>icol</emphasis> -- column to be extracted.
37 </para>
38 </refsect1>
39
40
41
42 <refsect1>
43 <title>Performance</title>
44 <para>
45 <emphasis>kout[]</emphasis> -- output array containing the extracted column. It will be created if it does not exist.
46 </para>
47 <para>
48 <emphasis>kin[]</emphasis> -- input 2-dimensional array.
49 </para>
50 <para>
51 <emphasis>kcol</emphasis> -- column to be extracted.
52 </para>
53 </refsect1>
54
55 <refsect1>
56 <title>Examples</title>
57 <para>
58 Here is an example of the getcol opcode. It uses the file <ulink
59 url="examples/getcol.csd"><citetitle>getcol.csd</citetitle></ulink>.</para>
60
61 <example>
62 <title>Example of the getcol opcode.</title>
63
64 <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>
65 <xi:include href="examples-xml/getcol.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
66 </example>
67 </refsect1>
68 <refsect1>
69 <title>See Also</title>
70 <para>
71 <link linkend="vectorial"><citetitle></citetitle>Vectorial opcodes</link>
72 <link linkend="arrayOpcodes"><citetitle></citetitle>array opcodes</link>
73 </para>
74 </refsect1>
75
76 <refsect1>
77 <title>Credits</title>
78 <para>
79 <simplelist>
80 <member>Author: &namevictor;</member>
81 <member>NUI Maynooth</member>
82 <member>2014</member>
83 </simplelist>
84 </para>
85 <para>New in version 6.04</para>
86 </refsect1>
87 </refentry>