de.trans: Transition probability ODE

Description Usage Arguments Value Examples

View source: R/bsd_package.R

Description

Evaluates the ODE for generating function corresponding to transition probabilities. This is in a format to be solved using zvode from package deSolve; see deSolve documentation/vignette for further details

Usage

1
  de.trans(t, state, param)

Arguments

t

A number or vector of numbers: evaluation times of ODE

state

A named vector containing initial value of the state variable G, complex valued

param

A named vector of numbers containing the other arguments lam, v, mu, and complex number s2

Value

The rate of change of G the generating function in list form

Examples

1
2
t = .5; state = c(G=exp(2*1i)); param = c(lam = .2, v = .05, mu = .1, s2 = exp(3*1i))
de.trans(t,state,param)

jasonxu90/bdsem documentation built on May 18, 2019, 5:54 p.m.