code: def _augknt(x, k):
      """Construct a knot vector appropriate for the order-k interpolation."""
      return cupy.r_[(x[0],) * k, x, (x[-1],) * k]
  
file_path: cupy/cupyx/scipy/interpolate/_bspline2.py
imports: import operator
  from numpy.core.multiarray import normalize_axis_index
  import cupy
  from cupyx.scipy import sparse
  from cupyx.scipy.sparse.linalg import spsolve
  from cupyx.scipy.interpolate._bspline import _get_module_func, INTERVAL_MODULE, D_BOOR_MODULE, BSpline
label_desc: Use image node_id 5 for calling a global function with example usage: _augknt(x, k) and returns: cupy