Skip to contents

Implements dMYdt for the basicM xde ODE model.

Usage

# S3 method for class 'basicM'
dMYdt(t, y, xds_obj, s)

Arguments

t

current simulation time

y

state vector

xds_obj

an xds object

s

the species index

Value

a numeric vector

Details

$$\begin{array}{rl}dM/dt &= \Lambda(t) - \Omega \cdot M \\ dP/dt &= f(M-P) - \Omega\cdot P\end{array}$$