/usr/share/doc/dpuser-doc/function_polyfit2derr.html is in dpuser-doc 3.3+p1+dfsg-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | <html>
<head>
<meta name="Author" content="Thomas Ott">
<title>DPUSER - The Next Generation: Function polyfit2derr</title>
<style type="text/css" title="currentStyle">
@import "dpuser.css";
</style>
<link rel="shortcut icon" href="dpuser.ico" type="image/xicon">
</head>
<body>
<div id="header">DPUSER - The Next Generation</div>
<div id="menu">
<ul>
<li><a href="index.html">Introduction</a></li>
<li><a href="history.html">History</a></li>
<li><a href="syntax.html">Syntax</a></li>
<li><a href="operators.html">Operators</a></li>
<li><a href="ifandloop.html">Structural commands</a></li>
<li><a href="variables.html">Data types</a></li>
<li><a href="plotting.html">Graphics</a></li>
<li><a href="fitsfiles.html">Fits files</a></li>
<li><a href="category.html">Category index</a></li>
<li><a href="functions.html">Function index</a></li>
<li><a href="procedures.html">Procedure index</a></li>
<li><a href="pgplot.html">Pgplot index</a></li>
<li><a href="examples.html">Examples</a></li>
<hr>
<li><a href="qfitsview.html">QFitsView documentation</a></li>
<hr>
</ul>
<form method="GET" action="search.html">
<input type="text" size=15 name="keywords">
<input type="submit" value="Search">
</form>
</div>
<div id="content">
<h1 class="declaration">function polyfit2derr</h1>
<p>
Returns a 2D N-th order polynomial fit to X. X must be 2-dimensional. The function returns a vector of size sum(i+1)*2 (for i=0 to N). The fittet polynomial has the following form:
<br><tt> for N=3: f(x,y) = a0 + a1*x + a2*y + a3*x^2 + a4*x*y + a5*y^2 + a6*x^3 + a7*x^2*y + a8*x*y^2 + a9*y^3</tt>
The values a0, ..., a9 are returned in the first 10 elements of the returned vector, their respective errors in the elements 11...20.
<br><br><b><font size=+2>Syntax</font></b><br>
<i>result</i> = polyfit2d(X, N, ERROR [, CHISQ])
<br><br><b><font size=+2>Arguments</font></b><br>
<table CELLSPACING=0 CELLPADDING=0>
<tr VALIGN=TOP><td nowrap>X: </td>
<td> A vector.</td></tr>
<tr VALIGN=TOP><td nowrap>N: </td>
<td> An integer number.</td></tr>
<tr VALIGN=TOP><td nowrap>ERROR: </td>
<td> The error of the X-values. If this is a real number, all X-values are assumed to have the same error. If ERROR is a vector, it must have the same length as X and gives the error or each individual X value.</td></tr>
<tr VALIGN=TOP><td nowrap>CHISQ: </td>
<td> If set to a named variable, the variable is overwritten with the chi-squared of the fit.</td></tr>
</table>
<br><br><b><font size=+2>See also</font></b><br>
<a href = "function_polyfit.html">function polyfit</a><br>
<a href = "function_polyfitxy.html">function polyfitxy</a><br>
<a href = "function_polyfitxyerr.html">function polyfitxyerr</a><br>
<a href = "function_polyfit2derr.html">function polyfit2derr</a><br>
</div>
<div id="copyright">
Copyright © Thomas Ott ---- DPUSER - The Next Generation 3.3 (Rev. )
</div>
</body>
</html>
|