Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.0.0 - English


ludel

utility function used with lufact

Syntax

ludel(hand)
ludel()

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.

To clear all the internal memory space ludel() could be used.

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
Report an issue
<< Sparse Decompositions Sparse Decompositions lufact >>

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:
Tue Oct 24 14:30:04 CEST 2023