to_dots
gammaloop Function
to_dots(atom_str: str) -> strRewrite a Symbolica tensor expression into Idenso dot-product notation.
Parameters
atom_strstrSymbolica tensor expression whose repeated indices encode contractions.
Returns
str
The equivalent expression using Idenso dot-product notation.
Raises
ExceptionIf
atom_strcannot be parsed or converted.
Examples
Rewrite a contraction before passing it to an Idenso workflow:
to_dots("p(mu) * q(mu)")View generated signature source: docs/api/python/gammaloop-python.pyi:2062