jacopy.packages.poisson.PoissonBracketValue¶
- class jacopy.packages.poisson.PoissonBracketValue(pi, f, g)¶
Bases:
Atom{f, g}— a Poisson bracket value, a scalar function (canonical definition{f,g} = π(df, dg)).Methods
__init__(pi, f, g)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.with_slots(f, g)Attributes
childrenTuple of immediate children.
degreefgis_atompirewritable_slots