test_interp#

test_interp(float64_tols, method, nsteps, quad_problem, fun_type)[source]#

Tests the accuracy of barycentric Lagrange interpolation.

Parameters:
  • float64_tols (pytest.fixture()) – See tests.test_config.float64_tols().

  • method (str) – [‘Gauss’, ‘Radau_I’, ‘Radau_II’, ‘Lobatto_III’, ‘Cheb_I’, ‘Cheb_II’, ‘ClenshawCurtis’]

  • nsteps (int) – [25, 50, 100]

  • quad_problem (dict) – [‘Wallis’]

  • fun_type (str) – [‘py_fun’, ‘c_fun_memoryview’, ‘c_fun_pointer’]