Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void Linear1D(TVec *X, TVec *Y, TPiecePoly *PiecePoly); | Linear interpolation. |
| 2 | void Linear1D(TVec *Y, TPiecePoly *PiecePoly); | Perform interpolation assuming that Y is evaluated at [0,1,2,...]. |
Overload 1: void Linear1D(TVec *X, TVec *Y, TPiecePoly *PiecePoly);
Linear interpolation.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TVec * | |
| 2 | Y | TVec * | |
| 3 | PiecePoly | TPiecePoly * |
Remarks:
The Linear1D procedure interpolates lines between consecutive (X,Y) pairs. Linear1D does not return interpolated points. It constructs piece-wise polynomial, which can be used to evaluate ( by using the PiecePoly.Evaluate method) the linear functions. To directly obtain interpolated values, use the Polynoms::Interpolate routine.
Note:
X values must be monotonic or the result will not be valid.
Declared in Dew::Math::Units::Polynoms · Dew.Math/Units.Polynoms.h · Cross-compiler
Overload 2: void Linear1D(TVec *Y, TPiecePoly *PiecePoly);
Perform interpolation assuming that Y is evaluated at [0,1,2,...].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Y | TVec * | |
| 2 | PiecePoly | TPiecePoly * |
Declared in Dew::Math::Units::Polynoms · Dew.Math/Units.Polynoms.h · Cross-compiler