{ } Raw JSON

bundles / scipy 1.17.1 / scipy / interpolate / _bsplines / _coeff_of_divided_diff

function

scipy.interpolate._bsplines:_coeff_of_divided_diff

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

Signature

def   _coeff_of_divided_diff ( x )

Summary

Returns the coefficients of the divided difference.

Parameters

x : array, shape (n,)

Array which is used for the computation of divided difference.

Returns

res : array_like, shape (n,)

Coefficients of the divided difference.

Notes

Vector x should have unique elements, otherwise an error division by zero might be raised.

No checks are performed.

Aliases

  • scipy.interpolate._bsplines._coeff_of_divided_diff