Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語

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

Справка Scilab >> Sparse Matrix > Sparse Decompositions > ludel

ludel

utility function used with lufact

Calling Sequence

ludel(hand)

Arguments

hand

handle to sparse lu factors (output of lufact)

Description

This function is used in conjunction with lufact. It clears the internal memory space used to store the result of lufact.

The sequence of commands [p,r]=lufact(A);x=lusolve(p,b);ludel(p); solves the sparse linear system A*x = b and clears p.

Examples

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

See Also

  • sparse — sparse matrix definition
  • lufact — sparse lu factorization
  • luget — extraction of sparse LU factors
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 02 14:01:07 CEST 2014