Scilab-Branch-5.3-GIT
      
      
    Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
spchol
Factorisation de Cholesky creuse
Séquence d'appel
[R,P] = spchol(X)
Paramètres
- X
- matrice creuse réelle symétrique et définie positive. 
- P
- matrice de permutation 
- R
- facteur de Cholesky 
Description
[R,P] = spchol(X) produit une matrice triangulaire inférieure R telle que P*R*R'*P' = X.
Exemples
X=[ 3., 0., 0., 2., 0., 0., 2., 0., 2., 0., 0. ; 0., 5., 4., 0., 0., 0., 0., 0., 0., 0., 0. ; 0., 4., 5., 0., 0., 0., 0., 0., 0., 0., 0. ; 2., 0., 0., 3., 0., 0., 2., 0., 2., 0., 0. ; 0., 0., 0., 0. , 5., 0., 0., 0., 0., 0., 4. ; 0., 0., 0., 0., 0., 4., 0., 3., 0., 3., 0. ; 2., 0., 0., 2., 0., 0., 3., 0., 2., 0., 0. ; 0., 0., 0., 0., 0., 3., 0., 4., 0., 3., 0. ; 2., 0., 0., 2., 0., 0., 2., 0., 3., 0., 0. ; 0., 0., 0., 0., 0., 3., 0., 3., 0., 4., 0. ; 0., 0., 0., 0., 4., 0., 0., 0., 0., 0., 5.]; X=sparse(X);[R,P] = spchol(X); max(P*R*R'*P'-X)
Voir aussi
| << nnz | Matrices creuses | speye >> |