tests/testthat/helper-test_propensity.R

test_propensity_calculation <- function(
  comp_reac,
  params,
  state,
  sim_time
) {
  test_propensity_cpp(
    comp_reac$function_pointers,
    params,
    comp_reac$buffer_size,
    length(comp_reac$reaction_ids),
    state,
    sim_time
  )
}

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.