123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
- <html>
- <!-- Created on December 10, 2012 by texi2html 1.82
- texi2html was written by:
- Lionel Cons <[email protected]> (original author)
- Karl Berry <[email protected]>
- Olaf Bachmann <[email protected]>
- and many others.
- Maintained by: Many creative people.
- Send bugs and suggestions to <[email protected]>
- -->
- <head>
- <title>avram - a virtual machine code interpreter: D.13.1 minpack calling conventions</title>
- <meta name="description" content="avram - a virtual machine code interpreter: D.13.1 minpack calling conventions">
- <meta name="keywords" content="avram - a virtual machine code interpreter: D.13.1 minpack calling conventions">
- <meta name="resource-type" content="document">
- <meta name="distribution" content="global">
- <meta name="Generator" content="texi2html 1.82">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <style type="text/css">
- <!--
- a.summary-letter {text-decoration: none}
- blockquote.smallquotation {font-size: smaller}
- pre.display {font-family: serif}
- pre.format {font-family: serif}
- pre.menu-comment {font-family: serif}
- pre.menu-preformatted {font-family: serif}
- pre.smalldisplay {font-family: serif; font-size: smaller}
- pre.smallexample {font-size: smaller}
- pre.smallformat {font-family: serif; font-size: smaller}
- pre.smalllisp {font-size: smaller}
- span.roman {font-family:serif; font-weight:normal;}
- span.sansserif {font-family:sans-serif; font-weight:normal;}
- ul.toc {list-style: none}
- -->
- </style>
- </head>
- <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
- <a name="minpack-calling-conventions"></a>
- <table cellpadding="1" cellspacing="1" border="0">
- <tr><td valign="middle" align="left">[<a href="minpack.html#minpack" title="Previous section in reading order"> < </a>]</td>
- <td valign="middle" align="left">[<a href="minpack-exceptions.html#minpack-exceptions" title="Next section in reading order"> > </a>]</td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left">[<a href="External-Libraries.html#External-Libraries" title="Beginning of this chapter or previous chapter"> << </a>]</td>
- <td valign="middle" align="left">[<a href="minpack.html#minpack" title="Up section"> Up </a>]</td>
- <td valign="middle" align="left">[<a href="Copying.html#Copying" title="Next chapter"> >> </a>]</td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left">[<a href="avram.html#Top" title="Cover (top) of document">Top</a>]</td>
- <td valign="middle" align="left">[<a href="avram_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
- <td valign="middle" align="left">[<a href="Function-Index.html#Function-Index" title="Index">Index</a>]</td>
- <td valign="middle" align="left">[<a href="avram_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
- </tr></table>
- <hr size="1">
- <a name="minpack-calling-conventions-1"></a>
- <h3 class="subsection">D.13.1 <code>minpack</code> calling conventions</h3>
- <p>The <code>minpack</code> library solves a similar problem to that of the
- <code>kinsol</code> library (<a href="kinsol.html#kinsol"><code>kinsol</code></a>), and the two libraries have
- identical calling conventions at the level of the virtual code
- interface.
- </p>
- <p>The <code>hybrd</code> and <code>lmdif</code> functions take input arguments of
- the form <code>(<var>f</var>,(<var>i</var>,<var>o</var>))</code>, whereas <code>hybrj</code>,
- <code>lmder</code>, and <code>lmstr</code> take arguments of the form
- <code>((<var>f</var>,<var>j</var>),(<var>i</var>,<var>o</var>))</code>. The interpretations of
- these parameters are explained in <a href="kinsol-input-parameters.html#kinsol-input-parameters"><code>kinsol</code> input parameters</a>.
- </p>
- <p>For the <code>lmstr</code> function, the Jacobian function <var>j</var> takes
- <a name="index-Jacobian-2"></a>
- an argument <code>(<var>m</var>,<var>v</var>)</code> and returns only the <var>m</var>-th
- row of the Jacobian matrix. For <code>lmder</code> and <code>hybrj</code>, the
- Jacobian function takes only an input vector <var>v</var> and returns the
- whole matrix. These specifications are also explained further in
- relation to the <code>kinsol</code> library.
- </p>
- <p>The output from any minpack function is a vector <var>v</var> satisfying
- <code><var>f</var>(<var>v</var>) = <var>o</var></code> to the best possible tolerance if a
- <a name="index-tolerance-2"></a>
- solution is found. A range of tolerances over ten orders of magnitude
- is sampled starting from <code>1e-15</code>. If no solution is found, an
- empty list is returned.
- </p>
- <hr size="1">
- <p>
- <font size="-1">
- This document was generated on <i>December 10, 2012</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
- </font>
- <br>
- </p>
- </body>
- </html>
|