Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Linear interpolation
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Extensions== {{comparison of 1D and 2D interpolation.svg|250px|linear and bilinear interpolation}} ===Accuracy=== If a [[differentiability class|{{math|''C''<sup>0</sup>}}]] function is insufficient, for example if the process that has produced the data points is known to be smoother than {{math|''C''<sup>0</sup>}}, it is common to replace linear interpolation with [[spline interpolation]] or, in some cases, [[polynomial interpolation]]. ===Multivariate=== Linear interpolation as described here is for data points in one spatial dimension. For two spatial dimensions, the extension of linear interpolation is called [[bilinear interpolation]], and in three dimensions, [[trilinear interpolation]]. Notice, though, that these interpolants are no longer [[linear functions]] of the spatial coordinates, rather products of linear functions; this is illustrated by the clearly non-linear example of [[bilinear interpolation]] in the figure below. Other extensions of linear interpolation can be applied to other kinds of [[polygon mesh|mesh]] such as triangular and tetrahedral meshes, including [[Bézier surface]]s. These may be defined as indeed higher-dimensional [[piecewise linear function|piecewise linear functions]] (see second figure below). [[Image:Bilininterp.png|right|thumb|Example of [[bilinear interpolation]] on the unit square with the {{mvar|z}} values 0, 1, 1, and 0.5 as indicated. Interpolated values in between are represented by colour.]] [[Image:Piecewise linear function2D.svg|right|thumbnail|A piecewise linear function in two dimensions (top) and the convex polytopes on which it is linear (bottom)]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)