[julia-users] Re: Implementing Gillespie's Stochastic Simulation Algorithm

2014-04-11 Thread David P. Sanders
El viernes, 11 de abril de 2014 16:19:24 UTC-5, Simon Frost escribió: > > I just added a draft implementation along the lines of ODE.jl: > > https://github.com/sdwfrost/Gillespie.jl > At a first glance it looks nice; I hope I get a chance to look at it in more detail soon.

[julia-users] Re: Implementing Gillespie's Stochastic Simulation Algorithm

2014-04-11 Thread Simon Frost
I just added a draft implementation along the lines of ODE.jl: https://github.com/sdwfrost/Gillespie.jl

[julia-users] Re: Implementing Gillespie's Stochastic Simulation Algorithm

2014-04-11 Thread Simon Frost
Dear David, It probably would be easier to pass a function that, given the current states and the parameters, returned a Float64 vector of rates. The main issue that I have is that eval can't see all the variables defined in the function scope, so my code runs fine if run globally, but not as

[julia-users] Re: Implementing Gillespie's Stochastic Simulation Algorithm

2014-04-10 Thread David P. Sanders
El jueves, 10 de abril de 2014 10:19:14 UTC-5, David P. Sanders escribió: > > > > El miércoles, 9 de abril de 2014 03:40:40 UTC-5, Simon Frost escribió: >> >> Dear All, >> >> I'm implementing Gillespie's direct method for stochastic simulation: >> >> http://en.wikipedia.org/wiki/Gillespie_algorit

[julia-users] Re: Implementing Gillespie's Stochastic Simulation Algorithm

2014-04-10 Thread David P. Sanders
El miércoles, 9 de abril de 2014 03:40:40 UTC-5, Simon Frost escribió: > > Dear All, > > I'm implementing Gillespie's direct method for stochastic simulation: > > http://en.wikipedia.org/wiki/Gillespie_algorithm > > I'm loosely following the API for the now-orphaned R package GillespieSSA: > > ht