24#include <R_ext/Rdynload.h>
26extern "C"{DL_FUNC
tofun(SEXP a);}
29void negative_istate(
int istate,
int maxsteps,
double rtol,
double atol,
int itol);
31arma::mat
MVGAUSS(Rcpp::NumericMatrix& OMEGA_,
int n);
33arma::mat
MVGAUSS(arma::mat& OMEGA_,
int n);
39 std::sort(a.begin(), a.end());
40 typename T::iterator last = std::unique(a.begin(), a.end());
41 a.erase(last, a.end());
45 Rcpp::CharacterVector& table);
47double digits(
const double& a,
const double& b);
49void dcorr(
const Rcpp::NumericMatrix& x);
53void from_to(
const Rcpp::CharacterVector& a,
54 const Rcpp::CharacterVector& b,
56 std::vector<int>& bi);
58Rcpp::List
get_tokens(
const Rcpp::CharacterVector& code);
60void set_omega(SEXP loc, Rcpp::NumericMatrix& omega_);
62Rcpp::NumericMatrix
EXPAND_EVENTS(
const Rcpp::IntegerVector& idcol_,
63 const Rcpp::NumericMatrix& events,
64 const Rcpp::NumericVector&
id);
66Rcpp::List
mat2df(Rcpp::NumericMatrix
const& x);
void set_omega(SEXP loc, Rcpp::NumericMatrix &omega_)
double digits(const double &a, const double &b)
Definition mrgsolve.cpp:38
arma::mat MAKEMATRIX(const Rcpp::S4 &matlist)
Definition mrgsolve.cpp:236
void from_to(const Rcpp::CharacterVector &a, const Rcpp::CharacterVector &b, std::vector< int > &ai, std::vector< int > &bi)
Definition mrgsolve.cpp:299
Rcpp::NumericMatrix EXPAND_EVENTS(const Rcpp::IntegerVector &idcol_, const Rcpp::NumericMatrix &events, const Rcpp::NumericVector &id)
Definition mrgsolve.cpp:322
int find_position(const std::string what, Rcpp::CharacterVector &table)
Definition mrgsolve.cpp:50
Rcpp::List get_tokens(const Rcpp::CharacterVector &code)
Definition mrgsolve.cpp:278
Rcpp::List mat2df(Rcpp::NumericMatrix const &x)
void dcorr(const Rcpp::NumericMatrix &x)
arma::mat MVGAUSS(Rcpp::NumericMatrix &OMEGA_, int n)
Definition mrgsolve.cpp:127
void sort_unique(T &a)
Definition mrgsolve.h:38
Rcpp::NumericMatrix SUPERMATRIX(const Rcpp::List &a)
void negative_istate(int istate, int maxsteps, double rtol, double atol, int itol)
Definition mrgsolve.cpp:65