Last active
June 17, 2019 12:25
-
-
Save metelkin/61941a7b593bbab2fcaf18cb9f5567d5 to your computer and use it in GitHub Desktop.
starting mrgsolve
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f = function(){ | |
mod %>% | |
mrgsim(delta=0.1, maxsteps=5e4, hmax=0.001, hmin=0) %>% | |
plot() | |
} | |
(f2 <- microbenchmark(f(), times = 5L)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(mrgsolve) | |
library(withr) | |
with_dir("Y:/_temp/elli_galya/dist/th1_mrgsolve", { | |
mod <- mread("default.cpp") | |
}) | |
mod %>% | |
mrgsim(delta=0.1, maxsteps=5e4, hmax=0.001, hmin=0) %>% | |
plot() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment