Revision of help page for listfunctions function
[scilab.git] / scilab / modules / functions / help / ja_JP / listfunctions.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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="listfunctions">
3     <refnamediv>
4         <refname>listfunctions</refname>
5         <refpurpose>
6             ワークスペースの全ての関数のプロパティ
7         </refpurpose>
8     </refnamediv>
9     <refsynopsisdiv>
10         <title>呼び出し手順</title>
11         <synopsis>[flist,compiled,profilable,called] = listfunctions([scope])</synopsis>
12     </refsynopsisdiv>
13     <refsection>
14         <title>パス名</title>
15         <variablelist>
16             <varlistentry>
17                 <term>scope</term>
18                 <listitem>
19                     <para>
20                         文字列, <literal>"local"</literal> (デフォルト) または <literal>"global"</literal>
21                     </para>
22                 </listitem>
23             </varlistentry>
24             <varlistentry>
25                 <term>flist</term>
26                 <listitem>
27                     <para>文字列の配列,
28                         指定した名前空間にある全関数変数の名前
29                     </para>
30                 </listitem>
31             </varlistentry>
32             <varlistentry>
33                 <term>compiled</term>
34                 <listitem>
35                     <para>論理値配列,
36                         対応する<varname>flist</varname>の要素が型=13の場合に真
37                     </para>
38                 </listitem>
39             </varlistentry>
40             <varlistentry>
41                 <term>profilable</term>
42                 <listitem>
43                     <para>論理値配列,
44                         対応する<varname>flist</varname>の要素が型=13の場合に真となり,
45                         プロファイル情報が関数の擬似コードの中に追加されます.
46                     </para>
47                 </listitem>
48             </varlistentry>
49             <varlistentry>
50                 <term>called</term>
51                 <listitem>
52                     <para>uint32 配列,
53                         <varname>flist</varname> の対応する要素がコールされた回数
54                         (プロファイル可能な関数の場合のみ非ゼロ)
55                     </para>
56                 </listitem>
57             </varlistentry>
58         </variablelist>
59     </refsection>
60     <refsection>
61         <title>説明</title>
62         <itemizedlist>
63             <listitem>
64                 <para>
65                     この関数は,(<link linkend="who">who</link>で指定した)
66                     ワークスペースの全ての変数を確認し,
67                     型11または13の変数を収集します;
68                     後で, <code>lst = macr2lst(fun)</code> が
69                     コールされた際,
70                     最初のコード行の末尾に特殊なプロファイルエントリ
71                     <code>lst(5)(1)=="25"</code> がチェックされます.
72                 </para>
73             </listitem>
74         </itemizedlist>
75     </refsection>
76     <refsection>
77         <title>例</title>
78         <programlisting role="example"><![CDATA[
79 recompilefunction("asinh","p")
80 [flist,compiled,profilable,called] = listfunctions();
81 flist(profilable)
82  ]]></programlisting>
83     </refsection>
84     <refsection role="see also">
85         <title>参照</title>
86         <simplelist type="inline">
87             <member>
88                 <link linkend="function">function</link>
89             </member>
90             <member>
91                 <link linkend="exec">exec</link>
92             </member>
93             <member>
94                 <link linkend="deff">deff</link>
95             </member>
96             <member>
97                 <link linkend="comp">comp</link>
98             </member>
99             <member>
100                 <link linkend="fun2string">fun2string</link>
101             </member>
102             <member>
103                 <link linkend="macr2lst">macr2lst</link>
104             </member>
105             <member>
106                 <link linkend="profile">profile</link>
107             </member>
108             <member>
109                 <link linkend="recompilefunction">recompilefunction</link>
110             </member>
111             <member>
112                 <link linkend="who">who</link>
113             </member>
114         </simplelist>
115     </refsection>
116     <refsection>
117         <title>参考文献</title>
118         <para>
119             http://wiki.scilab.org/Scilab_function_variables%3A_representation%2C_manipulation
120         </para>
121     </refsection>
122 </refentry>