PartialDerivative.derivative

PartialDerivative.derivative(self, point=None)[source]

Return the derivative operator.

The partial derivative is usually linear, but in case the ‘constant’ pad_mode is used with nonzero pad_const, the derivative is given by the derivative with 0 pad_const.

Parameters
pointdomain element-like, optional

The point to take the derivative in. Does not change the result since the operator is affine.