info#
- class brainpy.math.event.info(events)[source]#
Collect event information, including event indices, and event number.
This function supports JAX transformations, including jit(), vmap() and pmap().
- Parameters:
events (jax.Array) – The events.
- Returns:
res – A tuple with two elements, denoting the event indices and the event number.
- Return type: