splinepy.spline.Spline.basis_and_support#
- Spline.basis_and_support(queries, nthreads=None)[source]#
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)