tests/testthat/helper-test_ssa_step.R

test_ssa_method_step <- function(
  ssa_method,
  state,
  propensity,
  nu
) {
  test_ssa_method_cpp(
    ssa_method$factory(),
    state,
    propensity,
    nu@i,
    nu@p,
    nu@x
  )
}

Try the GillespieSSA2 package in your browser

Any scripts or data that you put into this service are public.

GillespieSSA2 documentation built on Jan. 24, 2023, 1:10 a.m.