You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Polynoms Class > Polynoms Methods > Linear1D Method > Polynoms.Linear1D Method (TVec, TVec, TPiecePoly)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Polynoms.Linear1D Method (TVec, TVec, TPiecePoly)

Linear interpolation.

Syntax
C#
Visual Basic
public static void Linear1D(TVec X, TVec Y, TPiecePoly PiecePoly);

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 Interpolate routine. 

Note: X values must be monotonic or the result will not be valid.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!