splinepy.bspline.BSpline.basis_and_support#

BSpline.basis_and_support(queries, nthreads=None)#

Returns basis function values and their support ids of given queries. Same as calling basis and support at the same time.

Parameters:
  • queries ((n, para_dim) array-like)

  • n_threads (int)

Returns:

  • basis ((n, prod(degrees + 1)) np.ndarray)

  • support ((n, prod(degrees + 1)) np.ndarray)