diff_ops

Operators defined for tensor fields.

Classes

Divergence(*args, **kwargs)

Divergence operator for DiscretizedSpace spaces.

Gradient(*args, **kwargs)

Spatial gradient operator for DiscretizedSpace spaces.

Laplacian(*args, **kwargs)

Spatial Laplacian operator for DiscretizedSpace spaces.

PartialDerivative(*args, **kwargs)

Calculate the discrete partial derivative along a given axis.

Functions

finite_diff(f, axis[, dx, method, out, …])

Calculate the partial derivative of f along a given axis.