c8cc5a997479cf9d3ddc99f03b0be3ee290b6801
[scilab.git] / scilab / modules / data_structures / help / ja_JP / lstsize.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="lstsize" xml:lang="ja">
22
23     <refnamediv>
24
25         <refname>lstsize</refname>
26
27         <refpurpose>list, tlist, mlist エントリの数   <emphasis role="bold">(obsolete)</emphasis>
28         </refpurpose>
29
30     </refnamediv>
31
32     <refsynopsisdiv>
33
34         <title>呼び出し手順</title>
35
36         <synopsis>n=lstsize(x)</synopsis>
37
38     </refsynopsisdiv>
39
40     <refsection>
41
42         <title>引数</title>
43
44         <variablelist>
45
46             <varlistentry>
47
48                 <term>l</term>
49
50                 <listitem>
51
52                     <para>list, tlist または mlist オブジェクト</para>
53
54                 </listitem>
55
56             </varlistentry>
57
58             <varlistentry>
59
60                 <term>n</term>
61
62                 <listitem>
63
64                     <para>整数, エントリの数</para>
65
66                 </listitem>
67
68             </varlistentry>
69
70         </variablelist>
71
72     </refsection>
73
74     <refsection>
75
76         <title>説明</title>
77
78         <para>
79
80             <literal>lstsize(x)</literal> はlist, list, mlistオブジェクト
81
82             のエントリの数を返します.
83
84             この関数は <literal>size</literal>よりも効率的で
85
86             全てのリスト型で類似の動作をします.
87
88             この際,<literal>size</literal>は<literal>mlist</literal>
89
90             オブジェクト用にオーバーロードされます.
91
92         </para>
93
94     </refsection>
95
96     <refsection>
97
98         <title>例</title>
99
100         <programlisting role="example"><![CDATA[
101 lstsize(list(1,'aqsdf'))
102 x=ssrand(3,2,4);
103 [ny,nu]=size(x)
104 lstsize(x)
105  ]]></programlisting>
106
107     </refsection>
108
109     <refsection role="see also">
110
111         <title>参照</title>
112
113         <simplelist type="inline">
114
115             <member>
116
117                 <link linkend="length">length</link>
118
119             </member>
120
121             <member>
122
123                 <link linkend="size">size</link>
124
125             </member>
126
127             <member>
128
129                 <link linkend="list">list</link>
130
131             </member>
132
133             <member>
134
135                 <link linkend="tlist">tlist</link>
136
137             </member>
138
139             <member>
140
141                 <link linkend="mlist">mlist</link>
142
143             </member>
144
145         </simplelist>
146
147     </refsection>
148     <refsection role="history">
149         <title>履歴</title>
150         <revhistory>
151             <revision>
152                 <revnumber>6.0.1</revnumber>
153                 <revdescription>
154                     <literal>lstsize()</literal> is declared obsolete, to be removed from Scilab 6.1.
155                     Please use <literal>size()</literal> instead.
156                 </revdescription>
157             </revision>
158         </revhistory>
159     </refsection>
160
161 </refentry>
162