The LeftAction class
Class representing a left action of a semigroup or monoid on a set.
This page contains the documentation for the class LeftAction, which
just calls Action with the keyword arguments func given by
ImageLeftAction and side given by side.left.
Full API
- class LeftAction
Bases:
Action- __init__(self: LeftAction, generators: list[Element] = None, seeds: list[Point] = None) None
Construct an
Actionfrom generators and seeds,ImageLeftActionandside.left.- Keyword Arguments:
generators (list[Element])– at least one generator for the action.
seeds (list[Point]) – at least one seed point for the action.
- Raises:
TypeError – if generators or seeds is not a list.
ValueError – if generators or seeds has length
0.KeyError – if the action given by the arguments is not yet implemented.
Important
The class
LeftActionhas all the methods of theRunnerclass but, for boring technical reasons, is not a subclass ofRunner. Ifthingis an instance ofLeftAction, then you can usethingas if it were an instance ofRunnerbutisinstance(thing, Runner)will returnFalse.