3da2bd7c1edeb644ce898028e036599b8466b043
[scilab.git] / scilab / modules / graphics / help / ja_JP / 3d_plot / eval3d.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4
5  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
6
7  * Copyright (C) INRIA - Serge Steer
8
9  * 
10
11
12  * Copyright (C) 2012 - 2016 - Scilab Enterprises
13  *
14  * This file is hereby licensed under the terms of the GNU GPL v2.0,
15  * pursuant to article 5.3.4 of the CeCILL v.2.1.
16  * This file was originally licensed under the terms of the CeCILL v2.1,
17  * and continues to be available under such terms.
18  * For more information, see the COPYING file which you should have received
19  * along with this program.
20
21  *
22
23  -->
24
25 <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="eval3d">
26     
27     <refnamediv>
28         
29         <refname>eval3d</refname>
30         
31         <refpurpose>グリッド上の関数の値</refpurpose>
32         
33     </refnamediv>
34     
35     <refsynopsisdiv>
36         
37         <title>呼び出し手順</title>
38         
39         <synopsis>[z]=eval3d(fun,x,[y])</synopsis>
40         
41     </refsynopsisdiv>
42     
43     <refsection>
44         
45         <title>パラメータ</title>
46         
47         <variablelist>
48             
49             <varlistentry>
50                 
51                 <term>fun</term>
52                 
53                 <listitem>
54                     
55                     <para>引数にベクトルをとる関数.</para>
56                     
57                 </listitem>
58                 
59             </varlistentry>
60             
61             <varlistentry>
62                 
63                 <term>x,y</term>
64                 
65                 <listitem>
66                     
67                     <para>
68                         
69                         大きさ (1,n1) および (1,n2)のベクトル. ( <literal>y</literal> のデフォルト値: <literal>y=x</literal>).
70                         
71                     </para>
72                     
73                 </listitem>
74                 
75             </varlistentry>
76             
77             <varlistentry>
78                 
79                 <term>z</term>
80                 
81                 <listitem>
82                     
83                     <para>大きさ (n1,n2)の行列.</para>
84                     
85                 </listitem>
86                 
87             </varlistentry>
88             
89         </variablelist>
90         
91     </refsection>
92     
93     <refsection>
94         
95         <title>説明</title>
96         
97         <para>
98             
99             この関数は行列<literal>z(n1,n2)</literal>を返します. <literal>z(i,j)=fun(x(i),y(j))</literal>. 
100             
101             関数 <literal>fun</literal> がベクトル型の引数を受け付けない場合は,
102             
103             プリミティブ<literal>feval</literal>を使用してください.
104             
105         </para>
106         
107     </refsection>
108     
109     <refsection>
110         
111         <title>例</title>
112         
113         <programlisting role="example"><![CDATA[ 
114
115 x=-5:5;y=x;
116
117 deff('[z]=f(x,y)',['z= x.*y']);
118
119 z=eval3d(f,x,y);
120
121 plot3d(x,y,z);
122
123
124
125 deff('[z]=f(x,y)',['z= x*y']);
126
127 z=feval(x,y,f);
128
129 plot3d(x,y,z);
130
131  ]]></programlisting>
132         
133         <scilab:image>x=-5:5;y=x;
134             
135             deff('[z]=f(x,y)',['z= x.*y']);
136             
137             z=eval3d(f,x,y);
138             
139             plot3d(x,y,z);
140             
141         </scilab:image>
142         
143         
144         
145     </refsection>
146     
147     <refsection role="see also">
148         
149         <title>参照</title>
150         
151         <simplelist type="inline">
152             
153             <member>
154                 
155                 <link linkend="feval">feval</link>
156                 
157             </member>
158             
159         </simplelist>
160         
161     </refsection>
162     
163 </refentry>
164