differential_geometry.dependence.DenseDependenceObject.element_wise_laplacian#

DenseDependenceObject.element_wise_laplacian(*, as_field: bool = False)#

Compute the component-wise Laplacian of the field.

For scalar fields, computes the scalar Laplacian. For tensor fields, applies the Laplace–Beltrami operator to each component.

Parameters:

as_field (bool, optional) – If True, return the raw symbolic expression. If False (default), wrap the result in a dependence object.

Returns:

Symbolic Laplacian expression or a new dependence object.

Return type:

Expr or _DepA