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
fatoração esparsa de Cholesky
Seqüência de Chamamento
[R,P] = spchol(X)
Parâmetros
- X
- matriz simétrica, esparsa e positiva definida de reais 
- P
- matriz de permutação 
- R
- fator de Cholesky 
Descrição
[R,P] = spchol(X) produz uma matriz triângular
    inferior R tal que P*R*R'*P' =
    X.
Exemplos
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)
| << sparse | Matrizes Esparsas | spcompack >> |