bundles / scipy 1.18.0 / scipy / interpolate / _cubic / CubicSpline / _validate_bc
staticmethod
scipy.interpolate._cubic:CubicSpline._validate_bc
source: /scipy/interpolate/_cubic.py:972
Signature
staticmethod
def _validate_bc(bc_type, y, expected_deriv_shape, axis)Summary
Validate and prepare boundary conditions.
Returns
validated_bc: 2-tupleBoundary conditions for a curve start and end.
y: ndarrayy casted to complex dtype if one of the boundary conditions has complex dtype.
Aliases
scipy.interpolate.CubicSpline._validate_bc