Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - 日本語

Change language to:
English - Français - Português

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab manual >> Sparses Matrix > lusolve

lusolve

疎な線形システムの解を得る

呼び出し手順

lusolve(hand,b)
lusolve(A,b)

パラメータ

b

通常の実数行列

A

可逆な実数正方疎行列

hand

疎行列LU分解を計算した際のハンドル(lufactの出力)

説明

x=lusolve(hand,b) は疎な線形システム A*x = bを解きます.

[hand,rk]=lufact(A) は lufact の出力です.

x=lusolve(A,b)は,疎な線形システム A*x = bを解きます.

non_zeros=[1,2,3,4];rows_cols=[1,1;2,2;3,3;4,4];
sp=sparse(rows_cols,non_zeros);
[h,rk]=lufact(sp);x=lusolve(h,[1;1;1;1]);ludel(h)
rk,sp*x

non_zeros=[1,2,3,4];rows_cols=[1,1;2,2;3,3;4,4];
sp=sparse(rows_cols,non_zeros);
x=lusolve(sp,-ones(4,1));
sp*x
<< luget Sparses Matrix mtlb_sparse >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:25:10 CET 2011