{ } Raw JSON

bundles / scipy 1.17.1 / scipy / interpolate / _cubic / CubicSpline / _validate_bc

staticmethod

scipy.interpolate._cubic:CubicSpline._validate_bc

source: /scipy/interpolate/_cubic.py :961

Signature

staticmethod def   _validate_bc ( bc_type y expected_deriv_shape axis )

Summary

Validate and prepare boundary conditions.

Returns

validated_bc : 2-tuple

Boundary conditions for a curve start and end.

y : ndarray

y casted to complex dtype if one of the boundary conditions has complex dtype.

Aliases

  • scipy.interpolate.CubicSpline._validate_bc