rStats.js v1.3.0
    Preparing search index...

    Function hermiteInterp

    • The polynomial of degree 2n - 1 through n points with given values and derivatives (global Hermite interpolation, jStat's hermite), evaluated at x. Not an R function. Neither base R nor the recommended packages have it (for piecewise cubic Hermite interpolation, see splinefunH). Computed by divided differences on the doubled nodes.

      Parameters

      Returns number[]

      hermiteInterp([0, 1], [0, 1], [0, 0], [0.25, 0.5]); // [0.15625, 0.5]