Mercurial > octave-antonio
comparison doc/interpreter/sparse.txi @ 5652:f37b562ec93c
[project @ 2006-03-09 15:12:20 by dbateman]
author | dbateman |
---|---|
date | Thu, 09 Mar 2006 15:12:21 +0000 |
parents | 69a4f320d95a |
children | 233d98d95659 |
comparison
equal
deleted
inserted
replaced
5651:6d0ea746f50f | 5652:f37b562ec93c |
---|---|
590 @caption{Structure of simple sparse matrix.} | 590 @caption{Structure of simple sparse matrix.} |
591 @end float | 591 @end float |
592 | 592 |
593 The standard Cholesky factorization of this matrix, can be | 593 The standard Cholesky factorization of this matrix, can be |
594 obtained by the same command that would be used for a full | 594 obtained by the same command that would be used for a full |
595 matrix. This can be visualized with the command @code{r = | 595 matrix. This can be visualized with the command |
596 chol(A); spy(r);}, @xref{fig:simplechol}. The original matrix | 596 @code{r = chol(A); spy(r);}. |
597 had | 597 @ifset HAVE_CHOLMOD |
598 @ifset HAVE_COLAMD | |
599 @xref{fig:simplechol}. | |
600 @end ifset | |
601 @end ifset | |
602 The original matrix had | |
598 @ifinfo | 603 @ifinfo |
599 @ifnothtml | 604 @ifnothtml |
600 43 | 605 43 |
601 @end ifnothtml | 606 @end ifnothtml |
602 @end ifinfo | 607 @end ifinfo |
993 @end example | 998 @end example |
994 | 999 |
995 Finally, in order to display the solution, we show each solved voltage | 1000 Finally, in order to display the solution, we show each solved voltage |
996 value in the z-axis for each simplex vertex. | 1001 value in the z-axis for each simplex vertex. |
997 @ifset htmltex | 1002 @ifset htmltex |
1003 @ifset HAVE_CHOLMOD | |
1004 @ifset HAVE_UMFPACK | |
1005 @ifset HAVE_COLAMD | |
998 @xref{fig:femmodel}. | 1006 @xref{fig:femmodel}. |
1007 @end ifset | |
1008 @end ifset | |
1009 @end ifset | |
999 @end ifset | 1010 @end ifset |
1000 | 1011 |
1001 @example | 1012 @example |
1002 elemx = elems(:,[1,2,3,1])'; | 1013 elemx = elems(:,[1,2,3,1])'; |
1003 xelems = reshape (nodes(elemx, 1), 4, E); | 1014 xelems = reshape (nodes(elemx, 1), 4, E); |