| 1 | |
| 2 | <refentry id="tanh"> |
| 3 | <indexterm id="IndexTanh"><primary>tanh</primary></indexterm> |
| 4 | <refentryinfo><title>Mathematical Operations:Trigonometric Functions</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>tanh</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>tanh</refname> |
| 13 | |
| 14 | <refpurpose> |
| 15 | Performs a hyperbolic tangent function. |
| 16 | </refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | <refsect1> |
| 20 | <title>Description</title> |
| 21 | <para> |
| 22 | Returns the hyperbolic tangent of <emphasis>x</emphasis>. |
| 23 | </para> |
| 24 | </refsect1> |
| 25 | |
| 26 | <refsect1> |
| 27 | <title>Syntax</title> |
| 28 | <synopsis><command>tanh</command>(x) (no rate |
| 29 | restriction)</synopsis> |
| 30 | <synopsis><command>tanh</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 tanh opcode. It uses the file <ulink |
| 37 | url="examples/tanh.csd"><citetitle>tanh.csd</citetitle></ulink>. |
| 38 | |
| 39 | <example> |
| 40 | <title>Example of the tanh opcode.</title> |
| 41 | |
| 42 | |
| 43 | |
| 44 | <para>See the sections <link |
| 45 | linkend="UsingRealTime"><citetitle>Real-time |
| 46 | Audio</citetitle></link> and <link |
| 47 | linkend="CommandFlags"><citetitle>Command Line |
| 48 | Flags</citetitle></link> for more information on using command |
| 49 | line flags.</para> |
| 50 | <xi:include href="examples-xml/tanh.csd.xml" |
| 51 | xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 52 | </example> |
| 53 | </para> |
| 54 | </refsect1> |
| 55 | |
| 56 | <refsect1> |
| 57 | <title>See also</title> |
| 58 | <para><link linkend="MathTrig"><citetitle>Trigonometric Functions</citetitle></link></para> |
| 59 | </refsect1> |
| 60 | |
| 61 | <refsect1> |
| 62 | <title>Credits</title> |
| 63 | <para>Author: &namejohn;</para> |
| 64 | <para>New in version 3.47</para> |
| 65 | </refsect1> |
| 66 | </refentry> |