1 <?xml version="1.0" encoding="UTF-8"?>
5 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
6 * Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
8 * This file must be used under the terms of the CeCILL.
9 * This source file is licensed as described in the file COPYING, which
10 * you should have received as part of this distribution. The terms
11 * are also available at
12 * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
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:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="jarray">
21 <refname>jarray</refname>
23 <refpurpose>Java配列を作成</refpurpose>
33 jarray(className, n_1 [, n_2 [, ...]])
47 <term>className</term>
51 <para>クラス名を指定する文字列</para>
63 <para>配列の次元を指定する整数</para>
79 className 型の多次元配列 n_1x...xn_pを作成します.
81 配列の要素は従来のScilab表記によりアクセスでき,
83 添字は1から始まるScilab表記に従います.
89 className は以下の基本データ型のどれかを指定します:
91 double, int, boolean, short, long, float, char および byte.
101 <programlisting role="example"><![CDATA[
102 a = jarray("java.lang.String", 2, 2, 3);
104 a(1, 1, 3) = "Hi Jims !";
105 a(2, 1, 3) = "Hi Jims again !!"
122 <revnumber>5.5.0</revnumber>
126 関数が導入されました. 'JIMS'モジュールに基づきます.
128 JIMSモジュールとの動作上の主な違いは,
130 <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで