added japanese translation of javasci.
[scilab.git] / scilab / modules / javasci / help / ja_JP / javasci.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 - Allan CORNET
6  *
7  * This file must be used under the terms of the CeCILL.
8  * This source file is licensed as described in the file COPYING, which
9  * you should have received as part of this distribution.  The terms
10  * are also available at
11  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
12  *
13  -->
14
15 <!-- This document was created with Syntext Serna Free. -->
16
17 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="javasci" xml:lang="ja">
18     
19     <refnamediv>
20         
21         <refname>javasci</refname>
22         
23         <refpurpose>JavaアプリケーションからScilabエンジンをコール</refpurpose>
24         
25     </refnamediv>
26     
27     <refsection>
28         
29         <title>説明</title>
30         
31         <para>
32             
33             Scilab はJavaアプリケーションからコールできる機能を提供します.
34             
35         </para>
36         
37         <para>
38             
39             このヘルプは, javasci APIの機能を記述するものです.
40             
41         </para>
42         
43         <para>
44             
45             Scilab バージョン 5.3.0以降, 
46             
47             Javasci v2と呼ばれる Javasciの新バージョンが導入されました.
48             
49             このバージョンは,
50             
51             <link linkend="javasci_v1_limitations">Javasci v1の制限</link>の多くを修正しています.
52             
53         </para>
54         
55         <para>
56             
57             <link type="remote" linkend="javasci/javadoc/index.html">Javasci v2の文書</link> を閲覧 
58             
59             (これによりWebブラウザがオープンします).
60             
61         </para>
62         
63     </refsection>
64     
65     <refsection>
66         
67         <title>Javasci v2の例</title>
68         
69         <programlisting role="java"><![CDATA[
70 // javasci v2を使用する簡単なJavaの例
71 // Filename: DisplayPI.java
72
73 import org.scilab.modules.javasci.Scilab;
74 import org.scilab.modules.types.ScilabType;
75 import org.scilab.modules.types.ScilabDouble;
76
77 class Example1 {
78
79     public static void main(String[] args) {
80
81       try {
82             Scilab sci = new Scilab();
83             sci.open();
84             sci.exec("disp(%pi);");
85
86             ScilabDouble a = new ScilabDouble(3.14);
87             sci.put("a",a);
88             sci.exec("b=sin(a);");
89             ScilabType b = sci.get("b");
90             System.out.println("b = " + b);
91
92             sci.close();
93
94       } catch (org.scilab.modules.javasci.JavasciException e) {
95             System.err.println("An exception occurred: " + e.getLocalizedMessage());
96       }
97
98     }
99 }
100
101 ]]></programlisting>
102         
103     </refsection>
104     
105     <refsection role="see also">
106         
107         <title>参照</title>
108         
109         <simplelist type="inline">
110             
111             <member>
112                 
113                 <link type="remote" linkend="javasci/javadoc/index.html">
114                     
115                     Javasci v2の文書
116                 </link>
117                 を閲覧 (これによりWebブラウザがオープンします).
118                 
119             </member>
120             
121             <member>
122                 
123                 <link linkend="compile_and_run_javasci_v2">Javasci v2でコンパイル/実行</link>
124                 
125             </member>
126             
127             <member>
128                 
129                 <link linkend="javasci_faq_v2">Javasci v2 FAQ</link>
130                 
131             </member>
132             
133         </simplelist>
134         
135     </refsection>
136     
137     <refsection>
138         
139         <title>履歴</title>
140         
141         <revhistory>
142             
143             <revision>
144                 
145                 <revnumber>5.4.0</revnumber>
146                 
147                 <revdescription>
148                     
149                     Javasci v1 が削除されました.
150                     
151                 </revdescription>
152                 
153             </revision>
154             
155             <revision>
156                 
157                 <revnumber>5.4.0</revnumber>
158                 
159                 <revdescription>新規メソッド追加:
160                     
161                     <itemizedlist>
162                         
163                         <listitem>Scilab.execException(String)
164                             
165                             <para>
166                                 
167                                 Scilab.exec(String) と同じですが, Scilabエラーが
168                                 
169                                 発生した際に例外を返します
170                                 
171                             </para>
172                             
173                         </listitem>
174                         
175                         <listitem>Scilab.execException(String[])
176                             
177                             <para>
178                                 
179                                 Scilab.exec(String[]) と同じですが, Scilabエラーが
180                                 
181                                 発生した際に例外を返します
182                                 
183                             </para>
184                             
185                         </listitem>
186                         
187                         <listitem>Scilab.execException(File)
188                             
189                             <para>
190                                 
191                                 Scilab.exec(File) と同じですが, Scilabエラーが
192                                 
193                                 発生した際に例外を返します
194                                 
195                             </para>
196                             
197                         </listitem>
198                         
199                     </itemizedlist>
200                     
201                 </revdescription>
202                 
203             </revision>
204             
205             <revision>
206                 
207                 <revnumber>5.4.0</revnumber>
208                 
209                 <revdescription>
210                     
211                     <itemizedlist>
212                         
213                         <listitem>Javasci は疎行列と論理値疎行列データ型をサポートします.</listitem>
214                         
215                         <listitem>Javasci はtlists, mlists およびリストデータ型をサポートします.</listitem>
216                         
217                         <listitem>Javasci 多項式データ型をサポートします.</listitem>
218                         
219                         <listitem>mList形式のJavasciデータ型構造体をサポートします.
220                             
221                         </listitem>
222                         
223                     </itemizedlist>
224                     
225                 </revdescription>
226                 
227             </revision>
228             
229         </revhistory>
230         
231     </refsection>
232     
233 </refentry>
234