jacopy.packages.metric_affine.ConnectionCoefficient¶
- class jacopy.packages.metric_affine.ConnectionCoefficient(connection_name, frame_name, upper, first, second)¶
Bases:
AtomΓ^a_{bc}— a connection coefficient on a frame; a genuine function on the base (degree 0, not constant). No index symmetry is imposed.- __init__(connection_name, frame_name, upper, first, second)¶
Methods
__init__(connection_name, frame_name, upper, ...)clone()Return
self.find(predicate)Yield descendants (including self) satisfying
predicate.replace_at(path, new)Return a new tree with
newspliced atpath.substitute_atom(dummy, target)Return
selfwith every occurrence ofdummyreplaced bytarget.walk()Pre-order traversal yielding
selffollowed by descendants throughchildrenonly.Attributes
childrenTuple of immediate children.
connection_namedegreeframe_nameindex_namesis_atomlowerupper- substitute_atom(dummy, target)¶
Return
selfwith every occurrence ofdummyreplaced bytarget.dummymust be anAtom. The default implementation does the obvious top-level match, then recurses throughchildren(). Atoms that hide a sub-atom inside a private slot (e.g. a frame vector field carrying aFrameIndex) override this method to expose that hidden state for substitution. Binders that introduce their own dummy (notablyIndexedSum) override to respect shadowing.