An initialised model - note that unlike the C++ version of dust, all particles share the same initialised model as they do not run in parallel.
The step to start the particle at
Optional
state: readonly number[]Optional vector of state; if given then this is
the initial state for the particle. Otherwise the state comes
from the models initial
method (see DustModel)
Readonly
sizeThe size of the particle state - this cannot be modified after creation
The step (in time) that the particle is currently at
Copy particle state into a VectorView object, probably part of a DustState or DustStateTime object.
The destination vector view to copy into
An index to use to restrict or order the copying
of state. If non-null
, then only the indicated states will be
copied
Model information, about ordering of variables, parameters, etc.
Run a particle up to the end of stepEnd
Step to run the particle to the end of
The random number state to use for any stochastic draws
Set particle state
New state, must be of length size
Return current particle state
Swap the model state with its internal next state. This is designed for use by Dust and not users in general!
Generated using TypeDoc
Construct a particle