Multiplex calls to one object to calls to many objects

AUTHORS:

  • Martin Albrecht (2011): initial version

class sage.misc.object_multiplexer.Multiplex(*args)

Bases: object

Object for a list of children such that function calls on this new object implies that the same function is called on all children.

class sage.misc.object_multiplexer.MultiplexFunction(multiplexer, name)

Bases: object

A simple wrapper object for functions that are called on a list of objects.