interpolate.tests.test_polyint

Module Contents

Functions

check_shape(interpolator_cls,x_shape,y_shape,deriv_shape=None,axis=0,extra_args=dict)
test_shapes()
test_derivs_shapes()
test_deriv_shapes()
_check_complex(ip)
test_complex()
check_shape(interpolator_cls, x_shape, y_shape, deriv_shape=None, axis=0, extra_args=dict)
test_shapes()
test_derivs_shapes()
test_deriv_shapes()
_check_complex(ip)
test_complex()
class TestKrogh
setup_method()
test_lagrange()
test_scalar()
test_derivatives()
test_low_derivatives()
test_derivative()
test_high_derivative()
test_hermite()
test_vector()
test_empty()
test_shapes_scalarvalue()
test_shapes_scalarvalue_derivative()
test_shapes_vectorvalue()
test_shapes_1d_vectorvalue()
test_shapes_vectorvalue_derivative()
test_wrapper()
test_int_inputs()
test_derivatives_complex()
class TestTaylor
test_exponential()
class TestBarycentric
setup_method()
test_lagrange()
test_scalar()
test_delayed()
test_append()
test_vector()
test_shapes_scalarvalue()
test_shapes_vectorvalue()
test_shapes_1d_vectorvalue()
test_wrapper()
class TestPCHIP
_make_random(npts=20)
test_overshoot()
test_monotone()
test_cast()
test_nag()
test_endslopes()
test_all_zeros()
test_two_points()
test_pchip_interpolate()
test_roots()
class TestCubicSpline
check_correctness(bc_start="not-a-knot", bc_end="not-a-knot", tol=1e-14)

Check that spline coefficients satisfy the continuity and boundary conditions.

check_all_bc(x, y, axis)
test_general()
test_periodic()
test_periodic_eval()
test_dtypes()
test_small_dx()
test_incorrect_inputs()