harminv-exceptions.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <html lang="en">
  2. <head>
  3. <title>harminv exceptions - 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="harminv.html#harminv" title="harminv">
  9. <link rel="prev" href="harminv-output.html#harminv-output" title="harminv output">
  10. <link rel="next" href="Additional-harminv-notes.html#Additional-harminv-notes" title="Additional harminv notes">
  11. <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
  12. <meta http-equiv="Content-Style-Type" content="text/css">
  13. <style type="text/css"><!--
  14. pre.display { font-family:inherit }
  15. pre.format { font-family:inherit }
  16. pre.smalldisplay { font-family:inherit; font-size:smaller }
  17. pre.smallformat { font-family:inherit; font-size:smaller }
  18. pre.smallexample { font-size:smaller }
  19. pre.smalllisp { font-size:smaller }
  20. span.sc { font-variant:small-caps }
  21. span.roman { font-family:serif; font-weight:normal; }
  22. span.sansserif { font-family:sans-serif; font-weight:normal; }
  23. --></style>
  24. </head>
  25. <body>
  26. <div class="node">
  27. <a name="harminv-exceptions"></a>
  28. <p>
  29. Next:&nbsp;<a rel="next" accesskey="n" href="Additional-harminv-notes.html#Additional-harminv-notes">Additional harminv notes</a>,
  30. Previous:&nbsp;<a rel="previous" accesskey="p" href="harminv-output.html#harminv-output">harminv output</a>,
  31. Up:&nbsp;<a rel="up" accesskey="u" href="harminv.html#harminv">harminv</a>
  32. <hr>
  33. </div>
  34. <h4 class="subsection">D.8.3 <code>harminv</code> exceptions</h4>
  35. <p>Various exceptional conditions are possible with the <code>harminv</code>
  36. library interface, and one of the following messages could be
  37. returned. Each of them has the form of a list containing a single
  38. character string.
  39. <ul>
  40. <li><code>unrecognized harminv function name</code>
  41. is reported in case of a function call of the form
  42. <code>library('harminv',f)</code> where <code>f</code> is anything other than
  43. the character string <code>'hsolve'</code>, this being the only function in
  44. the library.
  45. <li><code>bad harminv function call</code>
  46. is reported if the input parameters don't meet the specifications
  47. described in <a href="harminv-input-parameters.html#harminv-input-parameters">harminv input parameters</a>, or if <code>fmin</code> is
  48. greater than <code>fmax</code>.
  49. <li><code>bad vector specification</code>
  50. could be the result of a list of real numbers rather than complex
  51. numbers being passed as a <code>signal</code>. Real numbers can
  52. be converted to complex numbers using the <code>create</code> function from
  53. the <code>complex</code> library (<a href="complex.html#complex">complex</a>).
  54. <li><code>memory overflow</code>
  55. can occur if <code>avram</code> is operating very close to the limit of host
  56. memory, or perhaps if infeasibly large values are passed as <code>nf</code>
  57. <li><code>counter overflow</code>
  58. is similar to a memory overflow
  59. </ul>
  60. </body></html>