Guest User

Untitled

a guest
May 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. std::function<void(const state_type, state_type, const double)> eqsir2(const Rcpp::NumericVector theta) {
  2. return [&theta](const state_type &x, state_type &dxdt, const double t) {
  3. boost_array_to_nvec2(x, nvec);
  4. my_fun22(nvec,t,theta);
  5. nvec_to_boost_array2(nvec, dxdt);
  6. }
Add Comment
Please, Sign In to add comment