gschur() was declared obsolete in Scilab 4, now removed
[scilab.git] / scilab / modules / functions / help / ja_JP / deff.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) XXXX-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" 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="deff">
19     
20     <refnamediv>
21         
22         <refname>deff</refname>
23         
24         <refpurpose>関数のオンライン定義</refpurpose>
25         
26     </refnamediv>
27     
28     <refsynopsisdiv>
29         
30         <title>呼び出し手順</title>
31         
32         <synopsis>deff('[s1, s2,...] = newfunction(e1, e2,...)',text)</synopsis>
33         
34     </refsynopsisdiv>
35     
36     <refsection>
37         
38         <title>引数</title>
39         
40         <variablelist>
41             
42             <varlistentry>
43                 
44                 <term>e1, e2, ...</term>
45                 
46                 <listitem>
47                     
48                     <para>入力変数.</para>
49                     
50                 </listitem>
51                 
52             </varlistentry>
53             
54             <varlistentry>
55                 
56                 <term>s1, s2, ...</term>
57                 
58                 <listitem>
59                     
60                     <para>出力変数.</para>
61                     
62                 </listitem>
63                 
64             </varlistentry>
65             
66             <varlistentry>
67                 
68                 <term>text</term>
69                 
70                 <listitem>
71                     
72                     <para>文字列行列</para>
73                 </listitem>
74                 
75             </varlistentry>
76             
77         </variablelist>
78         
79     </refsection>
80     
81     <refsection>
82         
83         <title>説明</title>
84         
85         <para>
86             
87             <function>deff</function> はテキスト文字列で記述された一連の命令から
88             
89             関数を定義する際に使用されます.
90             
91             得られる関数オブジェクトはテキストファイルで定義され,
92             
93             <function>exec</function> または <function>exec</function> で
94             
95             定義された他の関数と同じ特性を有しています.
96             
97         </para>
98         
99         <para>
100             
101             命令の中の引用符(文字列の区切りまたは行列の転置を意味する)は,
102             
103             ただしく解釈されるように二重化する必要があります(<link linkend="quote">quote</link>のヘルプを参照).
104             
105             この仕様のため,作成作業はやや不便となります.
106             
107         </para>
108         
109     </refsection>
110     
111     <refsection>
112         
113         <title>例</title>
114         
115         <programlisting role="example"><![CDATA[
116 deff('[x]=myplus(y,z)','x=y+z')
117 deff('[x]=mymacro(y,z)',['a=3*y+1'; 'x=a*z+y'])
118  ]]></programlisting>
119         
120     </refsection>
121     
122     <refsection role="see also">
123         
124         <title>参照</title>
125         
126         <simplelist type="inline">
127             
128             <member>
129                 
130                 <link linkend="exec">exec</link>
131                 
132             </member>
133             
134             <member>
135                 
136                 <link linkend="function">function</link>
137                 
138             </member>
139             
140             <member>
141                 
142                 <link linkend="quote">quote</link>
143                 
144             </member>
145             
146         </simplelist>
147         
148     </refsection>
149     
150 </refentry>
151