next up previous contents
Next: Three dimensional linear approximation Up: Contours for <PLOT> Previous: Change of origin, scale

Standardized interpolation formulas

The formulas for quadratic interpolation imply a passage from a linear form in quadratic variables to a quadratic form in linear variables, whose behavior under a change of basis ought to be analyzed. Although this change of emphasis has its merit, not all of the symmetry inherent in the determinantal version is immediately evident in the new form.

In this one dimensional example, we would write

z = UTQU

with

\begin{displaymath}U^T = \left[ \begin{array}{cc} 1 & x \end{array} \right]\end{displaymath}

and

\begin{displaymath}Q=\left[ \begin{array}{cc} C&B\\ B&A \end{array} \right].\end{displaymath}

The translation Z,

\begin{displaymath}Z=\left[ \begin{array}{cc} 1&0\\ a&1 \end{array} \right].\end{displaymath}

transforms Q into ZTQZ, which is namely
ZTQZ = $\displaystyle \left[ \begin{array}{cc} 1&a\\  0&1 \end{array} \right]
\left[ \b...
...B&A \end{array} \right]
\left[ \begin{array}{cc} 1&0\\  a&1 \end{array} \right]$ (53)
  = $\displaystyle \left[\begin{array}{cc}C+2aB+a^2A&B+aA\\  B+aA&A\end{array}\right].$ (54)

The choice of a=-B/A removes the off-diagonal elements from ZTQZ, providing a matricial version of completing the square.

Since the interpolation equations are the same for all grid sites, and since the scale and origin of the equations can be changed so easily, it is reasonable to tabulate the interpolation coefficients for different coordinate grids, particularly for the commonly used square grid.


next up previous contents
Next: Three dimensional linear approximation Up: Contours for <PLOT> Previous: Change of origin, scale
Microcomputadoras
2001-01-15