symmray.index_common
General interface for index objects.
Module Contents
-
class symmray.index_common.Index[source]
-
property dual: bool
Whether the index flows ‘outwards’ / (+ve) / ket-like = False or
‘inwards’ / (-ve) / bra-like= True. The charge sign is given by
(-1) ** dual.
-
property subinfo: SubInfo
Information about the subindices of this index and their extents if
this index was formed from fusing.
-
class symmray.index_common.SubInfo[source]
-
property indices: tuple[Index, Ellipsis]
The indices that were fused to make this index.