Click or drag to resize

CurveBase Class

Base for most interpolations.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.InterpolationCurveBase
    More

Namespace: Altaxo.Calc.Interpolation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public abstract class CurveBase : IInterpolationCurve

The CurveBase type exposes the following members.

Constructors
 NameDescription
Protected methodCurveBaseInitializes a new instance of the CurveBase class
Top
Methods
 NameDescription
Public methodCubicSplineCoefficients Calculate the spline coefficients y2(i) and y3(i) for a natural cubic spline, given the abscissa x(i), the ordinate y(i), and the 1st derivative y1(i).
Public methodCubicSplineHorner Return the interpolation value P(u) for a piecewise cubic curve determined by the abscissa vector x, the ordinate vector y, the 1st derivative vector y1, the 2nd derivative vector y2, and the 3rd derivative vector y3, using the Horner scheme.
Public methodCubicSplineHorner1stDerivative 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberFindInterval Find index of largest element in the increasingly ordered vector x, which is smaller than u. If u is smaller than the smallest value in the vector then the lowest index minus one is returned.
Public methodGetCurvePoints Get curve points to draw an interpolation curve between the abscissa values xlo and xhi. It calls the virtual methods MpCurveBase::GetXOfU() and GetYOfU() to obtain the interpolation values. Note, that before method DrawCurve() can be called the method Interpolate() must have been called. Otherwise, not interpolation is available.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetXOfU Get the abscissa value in dependence on parameter u.
Public methodGetYOfU Gets the ordinate value on dependence on parameter u.
Public methodInterpolate Interpolates a curve using abcissa x and ordinate y.
Protected methodStatic memberIsStrictlyMonotonicallyIncreasing 
Protected methodStatic memberMatchingIndexRange Return True if vectors have the same index range, False otherwise.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodParametrize Curve length parametrization. Returns the accumulated "distances" between the points (x(i),y(i)) and (x(i+1),y(i+1)) in t(i+1) for i = lo ... hi. t(lo) = 0.0 always.
Protected methodStatic membersqr Square of x.
Protected methodStatic memberThrowIfContainsNaNOrInfiniteValues 
Protected methodStatic memberThrowIfContainsNegativeOrNaNOrInfiniteValues 
Protected methodStatic memberThrowIfIsNotMonotonicallyIncreasing Throws an argument exception if the array a is not monotonically increasing. If the array contains NaN, then the function also throws the exception.
Protected methodStatic memberThrowIfIsNotStrictlyMonotonicallyIncreasing Throws an argument exception if the array a is not strictly monotonically increasing. If the array contains NaN, then the function also throws the exception.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberDBL_EPSILON Represents the smallest number where 1+DBL_EPSILON is not equal to 1.
Protected fieldxReference to the vector of the independent variable.
Protected fieldyReference to the vector of the dependent variable.
Top
See Also
Inheritance Hierarchy