This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / interpolate / _cubic / CubicSpline / _validate_bc

staticmethod

scipy.interpolate._cubic:CubicSpline._validate_bc

source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_cubic.py:997

Signature

staticmethoddef _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