Debian Codegraph @

opcodes/tan.xml

raw symbols SCIP
1
2 <refentry id="tan">
3 <indexterm id="IndexTan"><primary>tan</primary></indexterm>
4 <refentryinfo><title>Mathematical Operations:Trigonometric Functions</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>tan</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>tan</refname>
13
14 <refpurpose>
15 Performs a tangent function.
16 </refpurpose>
17 </refnamediv>
18
19 <refsect1>
20 <title>Description</title>
21 <para>
22 Returns the tangent of <emphasis>x</emphasis> (<emphasis>x</emphasis> in radians).
23 </para>
24 </refsect1>
25
26 <refsect1>
27 <title>Syntax</title>
28 <synopsis><command>tan</command>(x) (no rate
29 restriction)</synopsis>
30 <synopsis><command>tan</command>(k/i[]) (k- or i-arrays )</synopsis>
31 </refsect1>
32
33 <refsect1>
34 <title>Examples</title>
35 <para>
36 Here is an example of the tan opcode. It uses the file <ulink url="examples/tan.csd"><citetitle>tan.csd</citetitle></ulink>.
37
38 <example>
39 <title>Example of the tan opcode.</title>
40
41
42
43 <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>
44 <xi:include href="examples-xml/tan.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
45 </example>
46
47 Its output should include a line like this:
48 <screen>instr 1: i1 = -0.134</screen>
49 </para>
50 </refsect1>
51
52 <refsect1>
53 <title>See also</title>
54 <para><link linkend="MathTrig"><citetitle>Trigonometric Functions</citetitle></link></para>
55 </refsect1>
56
57 <refsect1>
58 <title>Credits</title>
59 <para>Written by &namejohn;.</para>
60 <para>New in version 3.47</para>
61 </refsect1>
62 </refentry>