splinepy.bspline.BSpline.basis_derivative_and_support#

BSpline.basis_derivative_and_support(queries, orders, nthreads=None)#

Returns derivative of basis functions and their support ids of given queries. Same as calling basis_derivative and support at the same time.

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

  • orders ((para_dim,) or (m, para_dim) array-like)

  • nthreads (int)

Returns:

  • basis_derivatives ((n, m, prod(degrees + 1)) np.ndarray) – Iff m == 1, it will have (n, prod(degrees + 1)) shape.

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