translation updated for string.
[scilab.git] / scilab / modules / string / help / ja_JP / isnum.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) INRIA - 
6  * 
7  * This file must be used under the terms of the CeCILL.
8  * This source file is licensed as described in the file COPYING, which
9  * you should have received as part of this distribution.  The terms
10  * are also available at    
11  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
12  *
13  -->
14
15 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="isnum">
16     
17     <refnamediv>
18         
19         <refname>isnum</refname>
20         
21         <refpurpose>文字列が数字であるかどうかを調べる</refpurpose>
22         
23     </refnamediv>
24     
25     <refsynopsisdiv>
26         
27         <title>呼び出し手順</title>
28         
29         <synopsis>res = isnum(str)</synopsis>
30         
31     </refsynopsisdiv>
32     
33     <refsection>
34         
35         <title>引数</title>
36         
37         <variablelist>
38             
39             <varlistentry>
40                 
41                 <term>str</term>
42                 
43                 <listitem>
44                     
45                     <para>文字列または文字列の行列.</para>
46                     
47                 </listitem>
48                 
49             </varlistentry>
50             
51             <varlistentry>
52                 
53                 <term>res</term>
54                 
55                 <listitem>
56                     
57                     <para>論理値の行列.</para>
58                     
59                 </listitem>
60                 
61             </varlistentry>
62             
63         </variablelist>
64         
65     </refsection>
66     
67     <refsection>
68         
69         <title>説明</title>
70         
71         <para>
72             
73             <code>res = isnum(str)</code>は,
74             
75             <varname>str</varname>が数値を表す場合に<constant>%t</constant>
76             
77             を返します.
78             
79         </para>
80         
81         <para>
82             
83             <code>isnum</code> は "演算"を処理せずに, 
84             
85             スカラー数値のみを扱います.
86             
87             例えば, <code>isnum("1+2*3")</code> は <code>%f</code>を返します.
88             
89             複素数は2つの部分の加算として定義されるため,
90             
91             対応していません.
92             
93         </para>
94         
95     </refsection>
96     
97     <refsection>
98         
99         <title>例</title>
100         
101         <programlisting role="example"><![CDATA[
102 isnum(['1'   , ..
103     '-1.23'  , ..
104     '+1e+23' , ..
105     '1d+23'  , ..
106     'A'      , ..
107     '%e'     , ..
108     '%pi'    , ..
109     '%nan'   , ..
110     'Nan'    , ..
111     '%inf'   , ..
112     'Inf'    , ..
113     '1+%i*2' , ..
114     '%eps-%eps*%i', ..
115     '%inf+Nan*%i' ])
116     ]]></programlisting>
117         
118     </refsection>
119     
120     <refsection role="see also">
121         
122         <title>参照</title>
123         
124         <simplelist type="inline">
125             
126             <member>
127                 
128                 <link linkend="isletter">isletter</link>
129                 
130             </member>
131             
132             <member>
133                 
134                 <link linkend="isdigit">isdigit</link>
135                 
136             </member>
137             
138             <member>
139                 
140                 <link linkend="isalphanum">isalphanum</link>
141                 
142             </member>
143             
144             <member>
145                 
146                 <link linkend="evstr">evstr</link>
147                 
148             </member>
149             
150         </simplelist>
151         
152     </refsection>
153     
154 </refentry>
155