feynml.interface.formcalc.sequenceform.SequenceForm

class feynml.interface.formcalc.sequenceform.SequenceForm(s: str, i: int)[source]

Bases: object

__init__(s: str, i: int) None

Methods

__init__(s, i)

from_str(sequenceform)

Example

n()

re()

Attributes

s

i

classmethod from_str(sequenceform: str)[source]

Example

>>> str(SequenceForm.from_str('SequenceForm["Col", 1]'))
'SequenceForm["Col", 1]'