Difference between revisions of "MonoCubicInterp"

Line 7: Line 7:
  
 
[[MonoCubicInterp]] performs a smooth interpolation on the points ''(d,r)'', returning the value of the interpolated function at ''x''.  The points ''(d,r)'' must have a common index, specified by the fourth parameter, ''I''.  The values in both ''d'' and ''r'' must be monotonically increasing.  The interpolation performed is a type of cubic spline that preserves the monotonicity of the resulting function with a continuous derivative.  A standard [[CubicInterp|cubic spline]] does not guarantee that the interpolated function is monotonic, even if the data points are.   
 
[[MonoCubicInterp]] performs a smooth interpolation on the points ''(d,r)'', returning the value of the interpolated function at ''x''.  The points ''(d,r)'' must have a common index, specified by the fourth parameter, ''I''.  The values in both ''d'' and ''r'' must be monotonically increasing.  The interpolation performed is a type of cubic spline that preserves the monotonicity of the resulting function with a continuous derivative.  A standard [[CubicInterp|cubic spline]] does not guarantee that the interpolated function is monotonic, even if the data points are.   
 +
 +
The derivative is continuous at each data point, and the derivative obtained at the first and last data point are used to extrapolate when ''x'' is outside the range of ''d''.
  
 
[[Image:MonoCubicInterp-graph.png]]
 
[[Image:MonoCubicInterp-graph.png]]

Revision as of 03:22, 12 August 2008


MonoCubicInterp(d,r,x,I)

MonoCubicInterp is a function that is used internally by Analytica during various computations. It is not publicly supported nor is it exposed on the function finder or definition menu. The function does not work correctly in an expression in Analytica 4.1.1 (or earlier).

MonoCubicInterp performs a smooth interpolation on the points (d,r), returning the value of the interpolated function at x. The points (d,r) must have a common index, specified by the fourth parameter, I. The values in both d and r must be monotonically increasing. The interpolation performed is a type of cubic spline that preserves the monotonicity of the resulting function with a continuous derivative. A standard cubic spline does not guarantee that the interpolated function is monotonic, even if the data points are.

The derivative is continuous at each data point, and the derivative obtained at the first and last data point are used to extrapolate when x is outside the range of d.

MonoCubicInterp-graph.png

Library

None. This function is not exposed on the definition menu.

See Also

Comments


You are not allowed to post comments.