OperatorsMixin#

class differential_geometry.dependence.OperatorsMixin[source]#

Mixin class providing basic arithmetic operations and differential operators for symbolic dependence objects in a coordinate system.

Supports elementwise binary operations (e.g., addition, subtraction, multiplication, division) with other compatible dependence objects or scalars. Also provides methods to compute symbolic gradients and Laplacians on each component.

Intended to be used with classes that define a symbolic proxy, coordinate system, and a from_symbolic_proxy constructor method.

Methods

__init__()

element_wise_gradient(*[, basis, as_field])

Compute the component-wise gradient of the field.

element_wise_laplacian(*[, as_field])

Compute the component-wise Laplacian of the field.