.. highlightlang:: us .. index:: rspline2 .. _rspline2: rspline2 ======== .. us.tag rspline2 NOTREADYENGLISH interpol-2d New5200 :ref:`rspline2` executes a 2-dimensional "matrix to matrix" interpolation. .. function:: rmZi = rspline2(rvX, rvY, rmZ, rvXi, rvYi) rmZi = rspline2(rvX, rvY, rmZ, rvXi, rvYi, rsTensionFactor) .. us.return **Return Value** *rmZi* is the interpolated matrix for the *rvXi*, *rvYi* coordinates. .. us.params **Parameters** .. uparam:: rvX *rvX* is a vector with x-coordinates for the matrix *rmZ*. .. uparam:: rvY *rvY* is a vector with y-coordinates for the matrix *rmZ*. .. uparam:: rmZ *rmZ* is a matrix. .. uparam:: rvXi *rvXi* is a vector with x-coordinates for the new matrix *rmZi*. .. uparam:: rvYi *rvYi* is a vector with y-coordinates for the new matrix *rmZi*. .. uparam:: rsTensionFactor *rsTensionFactor* is a number in the range 0 to 100. For 0 a cubic spline is calculated. For high values (up to 100) a polygon is calculated. Default value is 1. .. us.example **Example** .. include:: ../include/test_rspline2.ic .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.20 - New .. seealso:: :ref:`overview-mathematic`, :ref:`fspline2`, :ref:`spline2`, :ref:`interpol2` :sub:`id-732096`