Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation:language_reference:objects:interpolatingfunction:start [2026/11/16 23:23] – Maurits W. Haverkortdocumentation:language_reference:objects:interpolatingfunction:start [2026/11/17 07:32] (current) – Maurits W. Haverkort
Line 15: Line 15:
 ^ Type ^ Made by ^ Between the points ^ Continuous ^ Exact for ^ ^ Type ^ Made by ^ Between the points ^ Continuous ^ Exact for ^
 | //"Spline"// | //[[documentation:language_reference:objects:interpolatingfunction:functions:spline|InterpolatingFunction.Spline(x, y)]]// | cubic polynomials | $f$, $f'$, $f''$ | straight lines; cubics when the slopes at the two ends are given | | //"Spline"// | //[[documentation:language_reference:objects:interpolatingfunction:functions:spline|InterpolatingFunction.Spline(x, y)]]// | cubic polynomials | $f$, $f'$, $f''$ | straight lines; cubics when the slopes at the two ends are given |
-| //"HermiteCSpline"// | //[[documentation:language_reference:objects:interpolatingfunction:functions:hermitecspline|InterpolatingFunction.HermiteCSpline(x, y)]]// | cubic polynomials, no overshoot | $f$, $f'$ | straight lines; cubics when the slopes at all points are given |+| //"HermiteCSpline"// | //[[documentation:language_reference:objects:interpolatingfunction:functions:monotoniccspline|InterpolatingFunction.HermiteCSpline(x, y)]]// | cubic polynomials, no overshoot | $f$, $f'$ | straight lines; cubics when the slopes at all points are given |
 | //"BSpline"// | //[[documentation:language_reference:objects:interpolatingfunction:functions:bspline|InterpolatingFunction.BSpline(x, y, n)]]// | polynomials of degree $n$ | $f$ up to $f^{(n-1)}$ | polynomials up to degree $n$ | | //"BSpline"// | //[[documentation:language_reference:objects:interpolatingfunction:functions:bspline|InterpolatingFunction.BSpline(x, y, n)]]// | polynomials of degree $n$ | $f$ up to $f^{(n-1)}$ | polynomials up to degree $n$ |
 | //"DKBSpline"// | //[[documentation:language_reference:functions:calculateatomicbasisfunctions|CalculateAtomicBasisFunctions()]]// | one component of a radial Dirac spinor | all derivatives | (not made from data) | | //"DKBSpline"// | //[[documentation:language_reference:functions:calculateatomicbasisfunctions|CalculateAtomicBasisFunctions()]]// | one component of a radial Dirac spinor | all derivatives | (not made from data) |
Line 91: Line 91:
  
 ### ###
-//[[documentation:language_reference:objects:interpolatingfunction:functions:hermitecspline|InterpolatingFunction.HermiteCSpline(x, y)]]// makes a cubic Hermite spline: on every interval the cubic polynomial with the values and the slopes at its two ends. The function and its first derivative are continuous, the second derivative jumps at the data points. Without slopes, the slopes are estimated from the neighbouring points and limited (Fritsch–Carlson) such that the interpolation is monotone wherever the data is: there is no overshoot, and a flat part of the data stays flat. With the slopes given at every point, //InterpolatingFunction.HermiteCSpline(x, y, m)//, the slopes are used as they are. The curve between two points only depends on the points nearby, so a change of one data point changes the function only locally.+//[[documentation:language_reference:objects:interpolatingfunction:functions:monotoniccspline|InterpolatingFunction.HermiteCSpline(x, y)]]// makes a cubic Hermite spline: on every interval the cubic polynomial with the values and the slopes at its two ends. The function and its first derivative are continuous, the second derivative jumps at the data points. Without slopes, the slopes are estimated from the neighbouring points and limited (Fritsch–Carlson) such that the interpolation is monotone wherever the data is: there is no overshoot, and a flat part of the data stays flat. With the slopes given at every point, //InterpolatingFunction.HermiteCSpline(x, y, m)//, the slopes are used as they are. The curve between two points only depends on the points nearby, so a change of one data point changes the function only locally.
 ### ###
  
Line 253: Line 253:
 ===== Table of contents ===== ===== Table of contents =====
 {{indexmenu>.#2|msort}} {{indexmenu>.#2|msort}}
- 
  
  
Print/export