DependenceObject#

class differential_geometry.dependence.DependenceObject(coordinate_system: _CoordinateSystemBase)[source]#

Base class for representing symbolic dependence of tensors on coordinates.

This class serves as the foundation for modeling whether a scalar or tensor field depends on specific coordinate axes in a given coordinate system. It provides interfaces to construct a symbolic proxy of the tensor and to reconstruct a dependence object from a symbolic expression.

Subclasses must implement:
Parameters:

coordinate_system (_CoordinateSystemBase) – The coordinate system in which the dependence is defined.

Methods

__init__(coordinate_system)

Initialize the base dependence object with a coordinate system.

from_symbolic_proxy(coordinate_system, ...)

Construct a dependence object by analyzing a symbolic proxy.

to_symbolic_proxy()

Construct a symbolic proxy representing this dependence.

Attributes

coordinate_system

The coordinate system associated with this dependence object.

coordinates_ndim

Number of coordinate dimensions in the associated coordinate system.

symbolic_proxy

A symbolic proxy field or tensor that represents coordinate dependence.