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

    Function barylag

    • Lagrange interpolation in barycentric form through the points (xi, yi). Equivalent to pracma::barylag() in R. The points must lie within the range of the nodes.

      Parameters

      Returns number[]

      barylag([0, 1, 2], [1, 3, 7], [0.5, 1.5]); // [1.75, 4.75]