jacopy.packages.poisson.KoszulBracket

class jacopy.packages.poisson.KoszulBracket(pi, alpha, beta)

Bases: Atom

[α, β]_π — the Koszul bracket of two 1-forms; itself a 1-form (degree 1, slot protocol).

Parameters:
__init__(pi, alpha, beta)
Parameters:
Return type:

None

Methods

__init__(pi, alpha, beta)

clone()

Return self.

find(predicate)

Yield descendants (including self) satisfying predicate.

replace_at(path, new)

Return a new tree with new spliced at path.

substitute_atom(dummy, target)

Return self with every occurrence of dummy replaced by target.

walk()

Pre-order traversal yielding self followed by descendants through children only.

with_slots(alpha, beta)

Attributes

alpha

beta

children

Tuple of immediate children.

degree

is_atom

pi

rewritable_slots