1318081380ef5119b0a11f66d1a74fdbc4e57c2f
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / sign.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5  * Copyright (C) 2008 - INRIA
6  * Copyright (C) 2015 - 2016 - Samuel GOUGEON
7  * Copyright (C) 2012 - 2016 - Scilab Enterprises
8  *
9  * This file is hereby licensed under the terms of the GNU GPL v2.0,
10  * pursuant to article 5.3.4 of the CeCILL v.2.1.
11  * This file was originally licensed under the terms of the CeCILL v2.1,
12  * and continues to be available under such terms.
13  * For more information, see the COPYING file which you should have received
14  * along with this program.
15  *
16  -->
17 <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="ja">
18     <refnamediv>
19         <refname>sign</refname>
20         <refpurpose>符号関数</refpurpose>
21     </refnamediv>
22     <refsynopsisdiv>
23         <title>呼び出し手順</title>
24         <synopsis>X = sign(A)</synopsis>
25     </refsynopsisdiv>
26     <refsection role="parameters">
27         <title>引数</title>
28         <variablelist>
29             <varlistentry>
30                 <term>A</term>
31                 <listitem>
32                     <para>実数または複素数の行列. <varname>A</varname> may be sparse.</para>
33                 </listitem>
34             </varlistentry>
35             <varlistentry>
36                 <term>X</term>
37                 <listitem>
38                     <para>実数または複素数の行列</para>
39                 </listitem>
40             </varlistentry>
41         </variablelist>
42     </refsection>
43     <refsection role="description">
44         <title>説明</title>
45         <para>
46             <literal>X = sign(A)</literal> は
47             <literal>A(i,j)</literal>の符号からなる行列を返します.
48             <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>