{ } Raw JSON

bundles / scipy latest / scipy / interpolate / _bsplines / fpcheck

function

scipy.interpolate._bsplines:fpcheck

source: /scipy/interpolate/_bsplines.py :2472

Signature

def   fpcheck ( x t k periodic = False )

Summary

Check consistency of data vector x and knot vector t.

Parameters

x : array_like, shape (m,)

1D sorted array of data points.

t : array_like, shape (n,)

1D non-decreasing knot vector.

k : int

Degree of the spline.

periodic : bool, optional

Whether the spline is periodic. Default is False.

Raises

: ValueError

If the configuration of x, t, and k violates any required condition.

Aliases

  • scipy.interpolate._bsplines.fpcheck