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


chfact

sparse Cholesky factorization

Syntax

spcho=chfact(A)

Arguments

A

square symmetric positive sparse matrix

spcho

list containing the Cholesky factors in coded form

Description

spcho=chfact(A) computes the sparse Cholesky factors of sparse matrix A, assumed symmetric positive definite. This function is based on the Ng-Peyton programs (ORNL). See the Fortran programs for a complete description of the variables in spcho. This function is to be used with chsolve.

Examples

A=sprand(20,20,0.1);
A=A*A'+eye();
chfact(A)

sol=(1:20)';
rhs=A*sol;
chfact(A)

See also

  • chsolve — sparse Cholesky solver
  • sparse — sparse matrix definition
  • lufact — sparse lu factorization
  • luget — extraction of sparse LU factors
  • spchol — sparse cholesky factorization
Report an issue
<< Sparse Matrix Conversion Sparse Matrix chsolve >>

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:
Mon Mar 27 11:52:44 GMT 2023