[doc] misc. patchs & small improvements
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / discrete / primes.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  *
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
18 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
19           xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml"
20           xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
21           xmlns:scilab="http://www.scilab.org" xml:id="primes" xml:lang="ja">
22
23     <refnamediv>
24
25         <refname>primes</refname>
26
27         <refpurpose>素数関数</refpurpose>
28
29     </refnamediv>
30
31     <refsynopsisdiv>
32
33         <title>呼び出し手順</title>
34
35         <synopsis>y = primes(x)</synopsis>
36
37     </refsynopsisdiv>
38
39     <refsection>
40
41         <title>引数</title>
42
43         <variablelist>
44
45             <varlistentry>
46
47                 <term>x</term>
48
49                 <listitem>
50
51                     <para>実数のスカラー</para>
52
53                 </listitem>
54
55             </varlistentry>
56
57             <varlistentry>
58
59                 <term>y</term>
60
61                 <listitem>
62
63                     <para>ベクトル</para>
64
65                 </listitem>
66
67             </varlistentry>
68
69         </variablelist>
70
71     </refsection>
72
73     <refsection>
74
75         <title>説明</title>
76
77         <para>
78
79             実数 <literal>x</literal>を指定すると, <literal>primes(x)</literal>
80
81             は,1 と <literal>x</literal>の間の全ての素数を含む
82
83             ベクトル<literal>y</literal>を返します.
84
85             <literal>x&lt;2 </literal> の場合,
86
87             <literal>primes(x)</literal> は空の行列を返します.
88
89         </para>
90
91     </refsection>
92
93     <refsection>
94
95         <title>例</title>
96
97         <programlisting role="example"><![CDATA[
98 primes(35)
99      ]]></programlisting>
100     <screen><![CDATA[
101 --> primes(35)
102  ans  =
103    2.   3.   5.   7.   11.   13.   17.   19.   23.   29.   31.
104 ]]></screen>
105
106     </refsection>
107
108     <refsection role="see also">
109
110         <title>参照</title>
111
112         <simplelist type="inline">
113
114             <member>
115
116                 <link linkend="factor">factor</link>
117
118             </member>
119
120         </simplelist>
121
122     </refsection>
123
124 </refentry>
125