umf.html 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <html lang="en">
  2. <head>
  3. <title>umf - avram - a virtual machine code interpreter</title>
  4. <meta http-equiv="Content-Type" content="text/html">
  5. <meta name="description" content="avram - a virtual machine code interpreter">
  6. <meta name="generator" content="makeinfo 4.13">
  7. <link title="Top" rel="start" href="index.html#Top">
  8. <link rel="up" href="External-Libraries.html#External-Libraries" title="External Libraries">
  9. <link rel="prev" href="rmath.html#rmath" title="rmath">
  10. <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
  11. <meta http-equiv="Content-Style-Type" content="text/css">
  12. <style type="text/css"><!--
  13. pre.display { font-family:inherit }
  14. pre.format { font-family:inherit }
  15. pre.smalldisplay { font-family:inherit; font-size:smaller }
  16. pre.smallformat { font-family:inherit; font-size:smaller }
  17. pre.smallexample { font-size:smaller }
  18. pre.smalllisp { font-size:smaller }
  19. span.sc { font-variant:small-caps }
  20. span.roman { font-family:serif; font-weight:normal; }
  21. span.sansserif { font-family:sans-serif; font-weight:normal; }
  22. --></style>
  23. </head>
  24. <body>
  25. <div class="node">
  26. <a name="umf"></a>
  27. <p>
  28. Previous:&nbsp;<a rel="previous" accesskey="p" href="rmath.html#rmath">rmath</a>,
  29. Up:&nbsp;<a rel="up" accesskey="u" href="External-Libraries.html#External-Libraries">External Libraries</a>
  30. <hr>
  31. </div>
  32. <h3 class="section">D.17 <code>umf</code></h3>
  33. <p>Systems of equations described by sparse matrices (i.e., matrices
  34. <a name="index-sparse-matrices-813"></a>containing mostly zeros) arise in certain practical problems. The
  35. usual array representation in which zeros are explicitly stored would
  36. be prohibitive for large matrices occurring in many problems of
  37. interest. A more sophisticated approach is used by the <code>umf</code>
  38. library to manage memory efficiently, which is documented at
  39. <a href="http://www.cise.ufl.edu/research/sparse/SuiteSparse/current/SuiteSparse/UMFPACK/Doc/">http://www.cise.ufl.edu/research/sparse/SuiteSparse/current/SuiteSparse/UMFPACK/Doc/</a>.
  40. <p>A virtual code interface to functions for solving sparse systems of
  41. equations by these methods is afforded by library functions of the form
  42. <pre class="example"> library('umf',f)
  43. </pre>
  44. <p class="noindent">where the library function name, <code>f</code> is a character string
  45. of the form <var>tt</var><code>_</code><var>m</var><code>_</code><var>rrr</var>.
  46. <ul>
  47. <li><var>tt</var>
  48. can be either <code>di</code> for real matrices, or <code>zi</code> for complex.
  49. <li><var>m</var>
  50. can be one of <code>a</code>, <code>t</code>, or <code>c</code> for solving a system
  51. given either by a matrix, its transpose, or its conjugate transpose,
  52. respectively,
  53. <a name="index-conjugate-transpose-814"></a>corresponding to mnemonics <code>A</code>, <code>Aat</code> and <code>At</code> used in
  54. the C language API.
  55. <li><var>rrr</var>
  56. is either <code>trp</code> or <code>col</code>, to indicate a sparse matrix expressed
  57. either as a list of triples, or in packed column form, as documented below.
  58. </ul>
  59. <p>The complete set of function names for this library interface is as
  60. follows.
  61. <pre class="example"> di_a_trp di_a_col zi_a_trp zi_a_col
  62. di_t_trp di_t_col zi_t_trp zi_t_col
  63. zi_c_trp zi_c_col
  64. </pre>
  65. <p class="noindent">Not all combinations are represented, because the conjugate transpose
  66. is relevant only to complex matrices.
  67. <ul class="menu">
  68. <li><a accesskey="1" href="umf-input-parameters.html#umf-input-parameters">umf input parameters</a>
  69. <li><a accesskey="2" href="umf-output.html#umf-output">umf output</a>
  70. <li><a accesskey="3" href="umf-exceptions.html#umf-exceptions">umf exceptions</a>
  71. <li><a accesskey="4" href="Additional-umf-notes.html#Additional-umf-notes">Additional umf notes</a>
  72. </ul>
  73. </body></html>