- Timestamp:
- 04/06/07 10:35:17 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_assistant_output/Interpolation/spl_incr.html
r234 r242 62 62 63 63 64 65 64 Given the arrays X and Y, which tabulate a function (with the X[i] 66 65 AND Y[i] in ascending order), and given an input value X2, the 67 SPL_INCRfunction returns an interpolated value for the given values66 spl_incr function returns an interpolated value for the given values 68 67 of X2. The interpolation method is based on cubic spline, corrected 69 68 in a way that interpolated values are also monotonically increasing. … … 79 78 80 79 <dt><a href="#_pure_convex"><i>result = </i>pure_convex(<i>x1, x2, y1, y2, der2, x</i>)</a><dt> 81 <dd><font size="-1"> </font></dd>80 <dd><font size="-1"> </font></dd> 82 81 83 82 <dt><a href="#_spl_incr"><i>result = </i>spl_incr(<i>x, y, x2</i>, YP0=<i>YP0</i>, YPN_1=<i>YPN_1</i>)</a><dt> 84 <dd><font size="-1"> </font></dd>83 <dd><font size="-1"> </font></dd> 85 84 86 85 </dl> … … 100 99 101 100 <h3>Return value</h3> 102 103 y2: f(x2) = y2. Double precision array 101 y2: f(x2) = y2. Double precision array 104 102 105 103 … … 121 119 122 120 123 An n-element (at least 2) input vector that specifies the tabulate points in121 An n-elements (at least 2) input vector that specifies the tabulate points in 124 122 a strict ascending order. 125 123 … … 157 155 158 156 159 f(x) = y. An n-element input vector that specifies the values157 f(x) = y. An n-elements input vector that specifies the values 160 158 of the tabulated function F(Xi) corresponding to Xi. As f is 161 159 supposed to be monotonically increasing, y values must be … … 215 213 216 214 <h3>Examples</h3><pre> 217 218 215 IDL> n = 100L 219 216 IDL> x = (dindgen(n))^2 … … 238 235 239 236 <h4>Version</h4> 240 $Id: spl_incr.pro 23 1 2007-03-19 17:15:51Z pinsard $237 $Id: spl_incr.pro 238 2007-03-27 13:43:18Z pinsard $ 241 238 242 239 <h4>History</h4> … … 273 270 274 271 272 275 273 276 274 … … 292 290 293 291 294 An n-element (at least 2) input vector that specifies the tabulate points in292 An n-elements (at least 2) input vector that specifies the tabulate points in 295 293 a strict ascending order. 296 294 … … 328 326 329 327 330 f(x) = y. An n-element input vector that specifies the values328 f(x) = y. An n-elements input vector that specifies the values 331 329 of the tabulated function F(Xi) corresponding to Xi. As f is 332 330 supposed to be monotonically increasing, y values must be … … 363 361 364 362 363 365 364 366 365 … … 416 415 417 416 417 418 418 419 419 … … 484 484 </h4> 485 485 486 The first derivative of the interpolating function at the 486 487 The first derivative of the interpolating function at the 487 488 point X0. If YP0 is omitted, the second derivative at the 488 489 boundary is set to zero, resulting in a "natural spline." 490 489 491 490 492 <a name="#_spl_incr_keyword_YPN_1"></a> … … 500 502 </h4> 501 503 502 The first derivative of the interpolating function at the 504 505 The first derivative of the interpolating function at the 503 506 point Xn-1. If YPN_1 is omitted, the second derivative at the 504 507 boundary is set to zero, resulting in a "natural spline."
Note: See TracChangeset
for help on using the changeset viewer.