SaveAt¤
diffrax.SaveAt
¤
Determines what to save as output from the differential equation solve.
Instances of this class should be passed as the saveat
argument of
diffrax.diffeqsolve
.
t0: bool
dataclass-field
¤
t1: bool
dataclass-field
¤
ts: Union[Sequence[Scalar], Array['times']]
dataclass-field
¤
steps: bool
dataclass-field
¤
dense: bool
dataclass-field
¤
solver_state: bool
dataclass-field
¤
controller_state: bool
dataclass-field
¤
made_jump: bool
dataclass-field
¤
__init__(self, t0: bool = False, t1: bool = False, ts: Union[Sequence[Scalar], Array['times']] = None, steps: bool = False, dense: bool = False, solver_state: bool = False, controller_state: bool = False, made_jump: bool = False)
¤
Main Arguments:
t0
: IfTrue
, save the initial inputy0
.t1
: IfTrue
, save the output att1
.ts
: Some array of times at which to save the output.steps
: IfTrue
, save the output at every step of the numerical solver.dense
: IfTrue
, save dense output, that can later be evaluated at any part of the interval \([t_0, t_1]\) viasol = diffeqsolve(...); sol.evaluate(...)
.
Other Arguments:
It is less likely you will need to use these options.
solver_state
: IfTrue
, save the internal state of the numerical solver att1
.controller_state
: IfTrue
, save the internal state of the step size controller att1
.made_jump
: IfTrue
, save the internal state of the jump tracker att1
.