ebf79a21b453e593ab80be747fd09a7d58d6e20a
[scilab.git] / scilab / modules / sparse / help / ja_JP / decomposition / lusolve.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) XXXX-2008 - INRIA
5  * 
6  * This file must be used under the terms of the CeCILL.
7  * This source file is licensed as described in the file COPYING, which
8  * you should have received as part of this distribution.  The terms
9  * are also available at    
10  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
11  *
12  -->
13 <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="lusolve">
14     <refnamediv>
15         <refname>lusolve</refname>
16         <refpurpose>疎な線形システムの解を得る</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>呼び出し手順</title>
20         <synopsis>x=lusolve(hand,b)
21             x=lusolve(A,b)
22         </synopsis>
23     </refsynopsisdiv>
24     <refsection>
25         <title>パラメータ</title>
26         <variablelist>
27             <varlistentry>
28                 <term>b</term>
29                 <listitem>
30                     <para>通常の実数行列</para>
31                 </listitem>
32             </varlistentry>
33             <varlistentry>
34                 <term>A</term>
35                 <listitem>
36                     <para>可逆な実数正方疎行列</para>
37                 </listitem>
38             </varlistentry>
39             <varlistentry>
40                 <term>hand</term>
41                 <listitem>
42                     <para>疎行列LU分解を計算した際のハンドル(lufactの出力)</para>
43                 </listitem>
44             </varlistentry>
45             <varlistentry>
46                 <term>x</term>
47                 <listitem>
48                     <para>通常の実数行列</para>
49                 </listitem>
50             </varlistentry>
51         </variablelist>
52     </refsection>
53     <refsection>
54         <title>説明</title>
55         <para>
56             <literal>x=lusolve(hand,b)</literal> は疎な線形システム
57             <literal>A*x = b</literal>を解きます.
58         </para>
59         <para>
60             <literal>[hand,rk]=lufact(A)</literal> は lufact の出力です.
61         </para>
62         <para>
63             <literal>x=lusolve(A,b)</literal>は,疎な線形システム
64             <literal>A*x = b</literal>を解きます.
65         </para>
66     </refsection>
67     <refsection>
68         <title>例</title>
69         <programlisting role="example"><![CDATA[ 
70 non_zeros=[1,2,3,4];rows_cols=[1,1;2,2;3,3;4,4];
71 sp=sparse(rows_cols,non_zeros);
72 [h,rk]=lufact(sp);x=lusolve(h,[1;1;1;1]);ludel(h)
73 rk,sp*x
74 non_zeros=[1,2,3,4];rows_cols=[1,1;2,2;3,3;4,4];
75 sp=sparse(rows_cols,non_zeros);
76 x=lusolve(sp,-ones(4,1));
77 sp*x
78  ]]></programlisting>
79     </refsection>
80     <refsection role="see also">
81         <title>参照</title>
82         <simplelist type="inline">
83             <member>
84                 <link linkend="sparse">sparse</link>
85             </member>
86             <member>
87                 <link linkend="lufact">lufact</link>
88             </member>
89             <member>
90                 <link linkend="slash">slash</link>
91             </member>
92             <member>
93                 <link linkend="backslash">backslash</link>
94             </member>
95         </simplelist>
96     </refsection>
97 </refentry>