Mode#

class brainpy.math.Mode[source]#

Base class for computation Mode

is_a(mode)[source]#

Check whether the mode is exactly the desired mode.

is_child_of(*modes)[source]#

Check whether the mode is a children of one of the given modes.

is_parent_of(*modes)[source]#

Check whether the mode is a parent of the given modes.