Difference between revisions of "CubicInterp"
m (adding doc status category stub page) |
|||
Line 2: | Line 2: | ||
[[Category:Doc Status D]] <!-- For Lumina use, do not change --> | [[Category:Doc Status D]] <!-- For Lumina use, do not change --> | ||
− | + | = CubicInterp(d,r,x,I) = | |
− | ( | + | Returns the natural cubic spline interpolated values of ''r'' along ''d'', interpolating for values of X. The points ''(r,d)'' that get interpolated are indexed by ''I''. The values of ''d'' must be ascending. |
+ | The index ''I'' is optional when ''d'' and ''r'' have only one index is common; however, it is recommended that you explicitly specify ''I'', since this will enable your expression to array-abstract if any dimension is ever added to ''d'' and ''r'' in the future. | ||
+ | |||
+ | Null values are allowed in ''d'' and ''r'' only in releases later than 4.1.1 (not including 4.1.1). Points having either ''d'' or ''r'' equal to null are ignored. When ''x'' is null, the result is null. | ||
+ | |||
+ | [[Image:Cubicinterp-graph.png]] | ||
= Declaration = | = Declaration = | ||
Line 12: | Line 17: | ||
= See also = | = See also = | ||
+ | * [[MonoCubicInterp]] | ||
* [[LinearInterp]] | * [[LinearInterp]] | ||
* [[StepInterp]] | * [[StepInterp]] |
Revision as of 02:54, 12 August 2008
CubicInterp(d,r,x,I)
Returns the natural cubic spline interpolated values of r along d, interpolating for values of X. The points (r,d) that get interpolated are indexed by I. The values of d must be ascending. The index I is optional when d and r have only one index is common; however, it is recommended that you explicitly specify I, since this will enable your expression to array-abstract if any dimension is ever added to d and r in the future.
Null values are allowed in d and r only in releases later than 4.1.1 (not including 4.1.1). Points having either d or r equal to null are ignored. When x is null, the result is null.
Declaration
CubicInterp( D,R : Numeric[I] ; X : numeric ; I : Index )
See also
Comments
Enable comment auto-refresher