Returns an array, Interpolant, of length n.

The array contains the second derivatives of the spline interpolating function g(x) at the tabulated points ξ, where i = 0, 1, …, n – 1.

Note By default, reentrant execution is enabled in all Point By Point VIs.

This VI is similar to the Spline Interpolant VI.


icon

Inputs/Outputs

  • cbool.png initialize

    initialize, when TRUE, initializes the internal state of the VI.

  • cdbl.png y

    y is an input data point.

  • cdbl.png x

    x is an input data point.

  • cdbl.png initial boundary

    initial boundary is the first derivative of interpolating function g(x) at x[0], g'(x[0]). The default is 1.0E+30, which causes this VI to set the initial boundary condition for a natural spline.

  • cdbl.png final boundary

    final boundary is the first derivative of interpolating function g(x) at x[n – 1], g'(x[n – 1]). The default is 1.0E+30, which causes this VI to set the final boundary condition for a natural spline.

  • ci32.png sample length

    sample length is the length of each set of incoming data. The VI performs computation for each set of data. The default is 100.

    sample length must be greater than zero.

  • i1ddbl.png Interpolant

    Interpolant is the second derivative of interpolating function g(x) at points x[i], i = 0, 1, …, n – 1.

  • ii32.png error

    error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

  • The sets of input data x and y have length n and contain a tabulated function, f(xi) = yi, with x0 < x1 <…xn – 1. initial boundary and final boundary are the first derivatives of the interpolating function g(x) at points 0 and n – 1, respectively.

    Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Signal Processing\Point by Point\Spline Interpolation PtbyPt.vi