Jump to content

Multidimensional interpolation: Difference between revisions

From Wikibase
Created page with "'''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,\cdot,x_m)_i=y_i$. == Methods == === Grid interpolation === If we know a "grid" of $n^m$ datapoints, i.e., $$ \{(x_{1,i_1},\cdots, x_{m,i_m})| i_1,\cdots i_m \in [0,n],\, i_1,\cdots i_m \in \mathbb{N}\} $$ Then a $m$-dimensional interpolation can be..."
 
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)
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,\cdot,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,\cdots,x_m,y)_i| i\in [0,n], i \in \mathbb{N}\}$ satisfies $f(x_1,\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 8: Line 9:


$$
$$
\{(x_{1,i_1},\cdots, x_{m,i_m})| i_1,\cdots i_m \in [0,n],\, i_1,\cdots i_m \in \mathbb{N}\}
\{(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}\}
$$
$$


Then a $m$-dimensional interpolation can be obtained via $n^{m-1}$ one-dimensional interpolation 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. -->


{{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 11:46, 23 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,\cdots,x_m,y)_i| i\in [0,n], i \in \mathbb{N}\}$ satisfies $f(x_1,\cdots,x_m)_i=y_i$.

Methods

Grid interpolation

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

$$ \{(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}\} $$

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.