1
spchol Scilab Group Scilab Function spchol
3
spchol - sparse cholesky factorization
8
X : symmetric positive definite real sparse matrix
10
P : permutation matrix
15
[R,P] = spchol(X) produces a lower triangular matrix R such that
20
3., 0., 0., 2., 0., 0., 2., 0., 2., 0., 0. ;
21
0., 5., 4., 0., 0., 0., 0., 0., 0., 0., 0. ;
22
0., 4., 5., 0., 0., 0., 0., 0., 0., 0., 0. ;
23
2., 0., 0., 3., 0., 0., 2., 0., 2., 0., 0. ;
24
0., 0., 0., 0. , 5., 0., 0., 0., 0., 0., 4. ;
25
0., 0., 0., 0., 0., 4., 0., 3., 0., 3., 0. ;
26
2., 0., 0., 2., 0., 0., 3., 0., 2., 0., 0. ;
27
0., 0., 0., 0., 0., 3., 0., 4., 0., 3., 0. ;
28
2., 0., 0., 2., 0., 0., 2., 0., 3., 0., 0. ;
29
0., 0., 0., 0., 0., 3., 0., 3., 0., 4., 0. ;
30
0., 0., 0., 0., 4., 0., 0., 0., 0., 0., 5.];
31
X=sparse(X);[R,P] = spchol(X);
34
sparse, lusolve, luget, chol