2e7a35fe77511ffd6f99fcd85920971ac2add96e
[scilab.git] / scilab / modules / integer / help / ja_JP / int8.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: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="int8">
17     <refnamediv>
18         <refname>int8</refname>
19         <refpurpose>1バイト整数形式に変換する</refpurpose>
20     </refnamediv>
21     <refnamediv xml:id="int16">
22         <refname>int16</refname>
23         <refpurpose>2バイト整数形式に変換する</refpurpose>
24     </refnamediv>
25     <refnamediv xml:id="int32">
26         <refname>int32</refname>
27         <refpurpose>4バイト整数形式に変換する</refpurpose>
28     </refnamediv>
29     <refnamediv xml:id="uint8">
30         <refname>uint8</refname>
31         <refpurpose>1バイト符号なし整数形式に変換する</refpurpose>
32     </refnamediv>
33     <refnamediv xml:id="uint16">
34         <refname>uint16</refname>
35         <refpurpose>2バイト符号なし整数形式に変換する</refpurpose>
36     </refnamediv>
37     <refnamediv xml:id="uint32">
38         <refname>uint32</refname>
39         <refpurpose>4バイト符号なし整数形式に変換する</refpurpose>
40     </refnamediv>
41     <refsynopsisdiv>
42         <title>呼び出し手順</title>
43         <synopsis>y=int8(X)
44             y=int16(X)
45             y=int32(X)
46             y=uint8(X)
47             y=uint16(X)
48             y=uint32(X)
49         </synopsis>
50     </refsynopsisdiv>
51     <refsection>
52         <title>パラメータ</title>
53         <variablelist>
54             <varlistentry>
55                 <term>X</term>
56                 <listitem>
57                     <para>浮動小数点数または整数の行列</para>
58                 </listitem>
59             </varlistentry>
60             <varlistentry>
61                 <term>y</term>
62                 <listitem>
63                     <para>1, 2 または 4バイトにコード化された整数の行列.</para>
64                 </listitem>
65             </varlistentry>
66         </variablelist>
67     </refsection>
68     <refsection>
69         <title>説明</title>
70         <para>
71             1,2または4バイト整数に変換,保存します.
72             これらのデータ型は画像,長い信号,...など大きなオブジェクトを
73             保存する際に特に有用です.
74         </para>
75         <variablelist>
76             <varlistentry>
77                 <term>y=int8(X)</term>
78                 <listitem>
79                     <para>[-128,127]の範囲の数を返します</para>
80                 </listitem>
81             </varlistentry>
82             <varlistentry>
83                 <term>y=uint8(X)</term>
84                 <listitem>
85                     <para>[0,255]の範囲の数を返します</para>
86                 </listitem>
87             </varlistentry>
88             <varlistentry>
89                 <term>y=int16(X)</term>
90                 <listitem>
91                     <para>[-32768,32767]の範囲の数を返します</para>
92                 </listitem>
93             </varlistentry>
94             <varlistentry>
95                 <term>y=uint16(X)</term>
96                 <listitem>
97                     <para>[0, 65535]の範囲の数を返します</para>
98                 </listitem>
99             </varlistentry>
100             <varlistentry>
101                 <term>y=int32(X)</term>
102                 <listitem>
103                     <para>[-2147483648,2147483647]の範囲の数を返します</para>
104                 </listitem>
105             </varlistentry>
106             <varlistentry>
107                 <term>y=uint32(X)</term>
108                 <listitem>
109                     <para>[0, 4294967295]の範囲の数を返します</para>
110                 </listitem>
111             </varlistentry>
112         </variablelist>
113     </refsection>
114     <refsection>
115         <title>例</title>
116         <programlisting role="example"><![CDATA[ 
117 int8([1 -120 127 312])
118 uint8([1 -120 127 312])
119 x=int32(-200:100:400)
120 int8(x)
121  ]]></programlisting>
122     </refsection>
123     <refsection>
124         <title>参照o</title>
125         <simplelist type="inline">
126             <member>
127                 <link linkend="double">double</link>
128             </member>
129             <member>
130                 <link linkend="inttype">inttype</link>
131             </member>
132             <member>
133                 <link linkend="iconvert">iconvert</link>
134             </member>
135         </simplelist>
136     </refsection>
137 </refentry>