def bspline_basis_set(d, knots, x):
 n_splines = ((len(knots) - d) - 1)
 return [bspline_basis(d, knots, i, x) for i in range(n_splines)]

def bspline_basis_set ( d , knots , x ) : n_splines = ( ( len ( knots ) - d ) - 1 ) return [ bspline_basis ( d , knots , i , x ) for i in range ( n_splines ) ]
return the len-d-1 b-splines at x of degree d with knots .