-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export internal model functions #168
Comments
Just checking whether this is the right place for this; I'm trying to demonstrate interop with Julia SciML, and all I need for this is a function that returns either the RHS of the ODE (as |
Hi @sdwfrost thanks, this seems really interesting! The deterministic model ODE systems are defined as RHS in the package headers We only have one discrete model for Ebola in Happy to hear any feedback on the model functions for better interoperability/more efficiency! Also, I've got |
Thanks @pratikunterwegs! I've added an issue to my repo here as it'll take me a little while to get the boilerplate code working. Thanks for the pointer to Epidemics.jl - I took a quick look. Have you thought about generating ModelingToolkit code rather than low level stuff? |
Thanks @sdwfrost - I've seen the repo before - looks interesting! With Epidemics.jl it's mostly just a way for me to learn and keep engaged with Julia programming; I haven't looked into ModelingToolkit at all before. |
This issue proposes that the internal ODE model functions be exposed to the user as 'unsafe' scalar versions of the updated, vectorised model functions, as detailed in #160.
For Rcpp implementations, this would involve exposing
.model_*_cpp()
. R-only implementations may be removed as part of this project (see #162), and if not, would require a thin wrapper accepting only scalars around.ode_model_*()
, whilemodel_*_r()
would be vectorised.This issue is planned to be taken up if a specific need for exposing these internal functions to users becomes evident.
The text was updated successfully, but these errors were encountered: