aquakin.EventedResult#

class aquakin.EventedResult(ts, ys, log=<factory>)[source]#

Bases: object

Output of solve_with_events().

Variables:
  • ts (jnp.ndarray) – Output times, shape (n_t,) – the requested t_eval grid (or the final time when t_eval is None).

  • ys (jnp.ndarray) – States at ts, shape (n_t, n_state).

  • log (list[tuple[float, str]]) – The fired events, in order, as (time, name) – the audit trail of switch times.

Parameters:
  • ts (Array)

  • ys (Array)

  • log (list)

__init__(ts, ys, log=<factory>)#
Parameters:
  • ts (Array)

  • ys (Array)

  • log (list)

Return type:

None

Methods

__init__(ts, ys[, log])

Attributes

ts

ys

log