differential_geometry.dependence.DenseDependenceObject.from_symbolic_proxy#
- classmethod DenseDependenceObject.from_symbolic_proxy(coordinate_system: _CoordinateSystemBase, symbolic_proxy: Function | MutableDenseNDimArray | Basic) DenseDependenceObject [source]#
Reconstruct a DenseDependenceObject from a symbolic proxy expression.
This method is the inverse of to_symbolic_proxy. It inspects a symbolic expression— either a scalar symbolic function or a dense symbolic tensor array—to determine:
its shape (based on .shape if present),
its dependent coordinate axes (based on free symbols).
- Parameters:
coordinate_system (
_CoordinateSystemBase
) – The coordinate system context in which the symbolic proxy is defined.symbolic_proxy (
_GenericFieldType
) – A symbolic scalar or tensor expression (e.g., from SymPy).
- Returns:
A new instance initialized from the inferred shape and dependencies.
- Return type: