operators.laplacian

operators.laplacian(x, field, centers, rbf=None, clip_val=None)

Computes the laplacian of the field (given by its coefficients) at position x

Args: x (Float[Array, “dim”]): The position at which to compute the laplacian value centers (Float[Array, “nb_centers, dim”]): The centroids of the RBF to use rbf (callable): The rbf to use. (Currently mandadatory, despite the signature.) clip_val (float, optional): The limit to which to clip the value to avoid blowup. Defaults to None.

Returns: float: The laplacian of field at x