differential_geometry.dependence.DependenceObject.from_symbolic_proxy#

abstract classmethod DependenceObject.from_symbolic_proxy(coordinate_system: _CoordinateSystemBase, symbolic_proxy: Function | MutableDenseNDimArray | Basic) DependenceObject[source]#

Construct a dependence object by analyzing a symbolic proxy.

This method should parse a symbolic expression and infer the shape, rank, and axes of dependence in order to reconstruct a subclass instance.

Parameters:
  • coordinate_system (_CoordinateSystemBase) – The coordinate system in which the symbolic expression is defined.

  • symbolic_proxy (_GenericFieldType) – A symbolic representation (scalar or tensor) of the field.

Returns:

An instance of the subclass representing the symbolic dependence.

Return type:

DependenceObject