[doc] comparisons page improved
[scilab.git] / scilab / modules / elementary_functions / help / en_US / trigonometry / matrix_wise / sinm.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="sinm" xml:lang="en">
17     <refnamediv>
18         <refname>sinm</refname>
19         <refpurpose>matrix sine function</refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>Syntax</title>
23         <synopsis>t = sinm(x)</synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>Arguments</title>
27         <variablelist>
28             <varlistentry>
29                 <term>x, t</term>
30                 <listitem>
31                     <para>real or complex square matrices.</para>
32                 </listitem>
33             </varlistentry>
34         </variablelist>
35     </refsection>
36     <refsection>
37         <title>Description</title>
38         <para>
39             <code>sinm(x)</code> is matrix sine of <varname>x</varname> matrix.
40         </para>
41     </refsection>
42     <refsection>
43         <title>Examples</title>
44         <programlisting role="example"><![CDATA[
45 A=[1,2;2,4];
46 sinm(A)+0.5*%i*(expm(%i*A)-expm(-%i*A))
47  ]]></programlisting>
48     </refsection>
49     <refsection role="see also">
50         <title>See also</title>
51         <simplelist type="inline">
52             <member>
53                 <link linkend="sin">sin</link>
54             </member>
55             <member>
56                 <link linkend="asinm">asinm</link>
57             </member>
58         </simplelist>
59     </refsection>
60 </refentry>