1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) XXXX-2008 - INRIA
6 * Copyright (C) 2012 - 2016 - Scilab Enterprises
8 * This file is hereby licensed under the terms of the GNU GPL v2.0,
9 * pursuant to article 5.3.4 of the CeCILL v.2.1.
10 * This file was originally licensed under the terms of the CeCILL v2.1,
11 * and continues to be available under such terms.
12 * For more information, see the COPYING file which you should have received
13 * along with this program.
16 <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="spget">
18 <refname>spget</refname>
19 <refpurpose>疎行列のエントリを取得</refpurpose>
23 <synopsis>[ij,v,mn]=spget(sp)</synopsis>
31 <para>実数または複素数の疎行列</para>
37 <para>2列の整数行列t (非ゼロエントリのインデックス)</para>
43 <para>2つのエントリ(行の次元, 列の次元)を有する整数ベクトル</para>
57 <literal>spget</literal> は疎行列の内部形式を
58 標準的な<literal>ij, v</literal> 形式に変換する際に使用されます.
61 <literal>sp</literal>の非ゼロエントリは,
62 <literal>ij</literal>のインデックスにより行および列の
68 <programlisting role="example"><![CDATA[
69 sp=sparse([1,2;4,5;3,10],[1,2,3])
73 <refsection role="see also">
75 <simplelist type="inline">
77 <link linkend="sparse">sparse</link>
80 <link linkend="sprand">sprand</link>
83 <link linkend="speye">speye</link>
86 <link linkend="lufact">lufact</link>