differential_geometry.dependence.DenseDependenceObject.depends_on#

DenseDependenceObject.depends_on(axis: str) bool[source]#

Check whether this object symbolically depends on a given coordinate axis.

This method inspects the symbolic structure and returns whether the field (scalar or tensor) has symbolic dependence on the specified axis.

Parameters:

axis (str) – The name of the coordinate axis (e.g., “r”, “theta”, “z”).

Returns:

True if this object depends on the given axis; False otherwise.

Return type:

bool