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