code: def check_2drbf1d_interpolation(function):
      # Check that the 2-D Rbf function interpolates through the nodes (1D)
      x = linspace(0, 10, 9)
      y0 = sin(x)
      y1 = cos(x)
      y = np.vstack([y0, y1]).T
      rbf = Rbf(x, y, function=function, mode="N-D")
      yi = rbf(x)
      assert_array_almost_equal(y, yi)
      assert_almost_equal(rbf(float(x[0])), y[0])
  
imports: import numpy
  from numpy.testing import assert_, assert_array_almost_equal, assert_almost_equal
  from numpy import linspace, sin, cos, random, exp, allclose
  from scipy.interpolate.rbf import Rbf
label_desc: Use image node_id 5 for calling a global function with example usage: check_2drbf1d_interpolation(function) without return types