6f1cb19d8d4f7682d77c2b5f652ffc5a72ff7717
[scilab.git] / scilab / modules / elementary_functions / help / ru_RU / matrixoperations / sign.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="sign" xml:lang="ru">
17     <refnamediv>
18         <refname>sign</refname>
19         <refpurpose>функция знака</refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>Синтаксис</title>
23         <synopsis>X = sign(A)</synopsis>
24     </refsynopsisdiv>
25     <refsection role="parameters">
26         <title>Аргументы</title>
27         <variablelist>
28             <varlistentry>
29                 <term>А</term>
30                 <listitem>
31                     <para>
32                         вещественная или комплексная матрица. <varname>A</varname> may be sparse.
33                     </para>
34                 </listitem>
35             </varlistentry>
36             <varlistentry>
37                 <term>X</term>
38                 <listitem>
39                     <para>вещественная или комплексная матрица</para>
40                 </listitem>
41             </varlistentry>
42         </variablelist>
43     </refsection>
44     <refsection role="description">
45         <title>Описание</title>
46         <para>
47             <literal>X = sign(A)</literal> возвращает матрицу, созданную из знаков
48             <literal>A(i,j)</literal>. Для комплексной  <literal>A</literal>
49             <literal>sign(A) = A./abs(A)</literal>.
50         </para>
51     </refsection>
52     <refsection role="examples">
53         <title>Примеры</title>
54         <programlisting role="example"><![CDATA[
55 sign(rand(2,3))
56 sign(1+%i)
57 sign(sprand(8,3,0.3,"normal"))
58  ]]></programlisting>
59     </refsection>
60     <refsection role="see also">
61         <title>Смотрите также</title>
62         <simplelist type="inline">
63             <member>
64                 <link linkend="abs">abs</link>
65             </member>
66             <member>
67                 <link linkend="csgn">csgn</link>
68             </member>
69             <member>
70                 <link linkend="signm">signm</link>
71             </member>
72         </simplelist>
73     </refsection>
74     <refsection role="history">
75         <title>История</title>
76         <revhistory>
77             <revision>
78                 <revnumber>6.0</revnumber>
79                 <revdescription>Extension to sparse matrices
80                 </revdescription>
81             </revision>
82         </revhistory>
83     </refsection>
84 </refentry>