parameters: (x, n)
return_statement: return piecewise(ax, condlist, funclist)
docstring: B-spline basis function of order n.
  
      Notes
      -----
      Uses numpy.piecewise and automatic function-generator.
docstring_summary: B-spline basis function of order n.
docstring_tokens: B - spline basis function of order n .
function: def bspline(x, n):
      """B-spline basis function of order n.
  
      Notes
      -----
      Uses numpy.piecewise and automatic function-generator.
  
      """
      ax = -abs(asarray(x))
      # number of pieces on the left-side is (n+1)/2
      funclist, condfuncs = _bspline_piecefunctions(n)
      condlist = [func(ax) for func in condfuncs]
      return piecewise(ax, condlist, funclist)
function_tokens: def bspline ( x , n ) : ax = - abs ( asarray ( x ) ) # number of pieces on the left-side is (n+1)/2 funclist , condfuncs = _bspline_piecefunctions ( n ) condlist = [ func ( ax ) for func in condfuncs ] return piecewise ( ax , condlist , funclist )