80f4589ff472d0362c9aec9c6f37ad21b40c24c6
[scilab.git] / scilab / modules / elementary_functions / help / en_US / trigonometry / tanh.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2008 - INRIA
5  *
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  -->
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"  xml:id="tanh" xml:lang="en">
17     <refnamediv>
18         <refname>tanh</refname>
19         <refpurpose>hyperbolic tangent</refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>Syntax</title>
23         <synopsis>t = tanh(x)</synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>Description</title>
27         <para>
28             The elements of <varname>t</varname> are the hyperbolic tangents of
29             the elements of <varname>x</varname>.
30         </para>
31     </refsection>
32     <refsection>
33         <title>Sample</title>
34         <scilab:image>
35             x=-%pi:0.01:%pi;
36             plot(x,tanh(x))
37         </scilab:image>
38     </refsection>
39     <refsection>
40         <title>Examples</title>
41         <programlisting role="example"><![CDATA[
42 x=[1,%i,-1,-%i]
43 tanh(x)
44 sinh(x)./cosh(x)
45  ]]></programlisting>
46     </refsection>
47     <refsection role="see also">
48         <title>See also</title>
49         <simplelist type="inline">
50             <member>
51                 <link linkend="atanh">atanh</link>
52             </member>
53             <member>
54                 <link linkend="tan">tan</link>
55             </member>
56             <member>
57                 <link linkend="tanhm">tanhm</link>
58             </member>
59         </simplelist>
60     </refsection>
61 </refentry>