splinepy.rational_bezier.RationalBezier.basis_and_support#

RationalBezier.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)