code: def splantider(tck, n=1):
      # see the docstring of `_fitpack_py/splantider`
      if n < 0:
          return splder(tck, -n)
  
      t, c, k = tck
  
      # Extra axes for the trailing dims of the `c` array:
      sh = (slice(None),) + (None,) * len(c.shape[1:])
  
      for j in range(n):
          # This is the inverse set of operations to splder.
  
          # Compute the multiplier in the antiderivative formula.
          dt = t[k + 1 :] - t[: -k - 1]
          dt = dt[sh]
          # Compute the new coefficients
          c = np.cumsum(c[: -k - 1] * dt, axis=0) / (k + 1)
          c = np.r_[np.zeros((1,) + c.shape[1:]), c, [c[-1]] * (k + 2)]
          # New knots
          t = np.r_[t[0], t, t[-1]]
          k += 1
  
      return t, c, k
  
file_path: scipy/scipy/interpolate/_fitpack_impl.py
imports: import warnings
  import numpy
  from .None import _fitpack
  from numpy import atleast_1d, array, ones, zeros, sqrt, ravel, transpose, empty, iinfo, asarray
  from .None import dfitpack
label_desc: Use image node_id 13 for calling a global function with example usage: splantider(tck, n) and returns: t,  c,  k, splder