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 - 日本語
Справка Scilab >> Sparse Matrix > chsolve

chsolve

sparse Cholesky solver

Syntax

sol=chsolve(spcho,rhs)

Arguments

spcho

list containing the Cholesky factors in coded form returned by chfact

rhs, sol

full column vectors

Description

sol=chsolve(spcho,rhs) computes the solution of rhs=A*sol, with A a symmetric sparse positive definite matrix. This function is based on the Ng-Peyton programs (ORNL). See the Fortran programs for a complete description of the variables in spcho.

Examples

A=sprand(20,20,0.1);
A=A*A'+eye();  
spcho=chfact(A);
sol=(1:20)';
rhs=A*sol;
spcho=chfact(A);
chsolve(spcho,rhs)

See Also

  • chfact — sparse Cholesky factorization
  • sparse — sparse matrix definition
  • lufact — sparse lu factorization
  • luget — extraction of sparse LU factors
  • spchol — sparse cholesky factorization
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:48:32 CEST 2016