Jump to content

Multidimensional interpolation: Difference between revisions

From Wikibase
Proofreading: fix $f(x_1,\cdot,x_m)$ → $f(x_1,\cdots,x_m)$, missing comma in $i_1,\cdots,i_m$, index range [0,n] → [0,n−1] to match $n^m$ datapoints, "a $m$-dimensional" → "an", plural "interpolations"; add missing value coordinate to the grid set; add two editorial notes as HTML comments. AI-assisted (RonzzWikiCowriter) (via update-page on MediaWiki MCP Server)
Proofread: apply the lead suggestion ($f(x_{1,i},\cdots,x_{m,i})=y_i$ instead of subscripting the tuple), correct the dangling "i.e.," before the grid display, use \mid for set-builder separators, and correct the count in the editorial remark ($\sum_{k=0}^{m-1} n^k$, not $m\,n^{m-1}$). AI-assisted (RonzzWikiCowriter) (via update-page on MediaWiki MCP Server)
Line 1: Line 1:
'''Multidimensional interpolation''' is the process of finding a multivariable function $f(x_1,\cdots,x_m)$ that for a definite set of datapoints $\{(x_1,\cdots,x_m,y)_i| i\in [0,n], i \in \mathbb{N}\}$ satisfies $f(x_1,\cdots,x_m)_i=y_i$.
'''Multidimensional interpolation''' is the process of finding a multivariable function $f(x_1,\cdots,x_m)$ that for a definite set of datapoints $\{(x_{1,i},\cdots,x_{m,i},y_i)\mid i\in [0,n], i \in \mathbb{N}\}$ satisfies $f(x_{1,i},\cdots,x_{m,i})=y_i$.
<!-- Consider spelling the evaluation point out, e.g. $f(x_{1,i},\cdots,x_{m,i}) = y_i$, rather than subscripting the whole tuple: as written, the $i$ on $f(\cdots)$ first reads as an index on the function itself. -->


== Methods ==
== Methods ==
Line 6: Line 5:
=== Grid interpolation ===
=== Grid interpolation ===


If we know a "grid" of $n^m$ datapoints, i.e.,
If we know a "grid" of $n^m$ datapoints:


$$
$$
\{(x_{1,i_1},\cdots,x_{m,i_m},y_{i_1,\cdots,i_m})| i_1,\cdots,i_m \in [0,n-1],\, i_1,\cdots,i_m \in \mathbb{N}\}
\{(x_{1,i_1},\cdots,x_{m,i_m},y_{i_1,\cdots,i_m})\mid i_1,\cdots,i_m \in [0,n-1],\, i_1,\cdots,i_m \in \mathbb{N}\}
$$
$$


Then an $m$-dimensional interpolation can be obtained via $n^{m-1}$ one-dimensional interpolations on each variable, fixing all other variables at all possible combinations of known constant values.
Then an $m$-dimensional interpolation can be obtained via $n^{m-1}$ one-dimensional interpolations on each variable, fixing all other variables at all possible combinations of known constant values.
<!-- Worth stating the total: $m\,n^{m-1}$ one-dimensional interpolations in all. -->
<!-- Worth stating the total: $\sum_{k=0}^{m-1} n^k=\frac{n^m-1}{n-1}$ one-dimensional interpolations in all; note that $m\,n^{m-1}$ overcounts, because each pass shrinks the grid by one dimension. -->


{{Hidden example}}
{{Hidden example}}
<!-- add an example of 2d interpolation on temperature based on a grid of weather stations, show python code, 3D plot -->
<!-- add an example of 2d interpolation on temperature based on a grid of weather stations, show python code, 3D plot -->
{{End hidden}}
{{End hidden}}

Revision as of 13:52, 25 October 2026

Languages: English · français · Esperanto

Multidimensional interpolation is the process of finding a multivariable function $f(x_1,\cdots,x_m)$ that for a definite set of datapoints $\{(x_{1,i},\cdots,x_{m,i},y_i)\mid i\in [0,n], i \in \mathbb{N}\}$ satisfies $f(x_{1,i},\cdots,x_{m,i})=y_i$.

Methods

Grid interpolation

If we know a "grid" of $n^m$ datapoints:

$$ \{(x_{1,i_1},\cdots,x_{m,i_m},y_{i_1,\cdots,i_m})\mid i_1,\cdots,i_m \in [0,n-1],\, i_1,\cdots,i_m \in \mathbb{N}\} $$

Then an $m$-dimensional interpolation can be obtained via $n^{m-1}$ one-dimensional interpolations on each variable, fixing all other variables at all possible combinations of known constant values.