#include <math.h>
#include <vector>
#include "RcppInclude.h"
#include "mrgsolv.h"
#include "datarecord.h"
Go to the source code of this file.
|
typedef std::vector< rec_ptr > | reclist |
| vector of datarecord objects for one ID More...
|
|
typedef std::vector< reclist > | recstack |
| vector of reclist vectors comprising a data set More...
|
|
typedef void(* | init_func) (MRGSOLVE_INIT_SIGNATURE) |
| $MAIN function More...
|
|
typedef void(* | table_func) (MRGSOLVE_TABLE_SIGNATURE) |
| $TABLE function More...
|
|
typedef void(* | deriv_func) (MRGSOLVE_ODE_SIGNATURE) |
| $ODE function More...
|
|
typedef void(* | config_func) (MRGSOLVE_CONFIG_SIGNATURE) |
| $PREAMBLE function More...
|
|
typedef void(* | LSODA_ODE_SYSTEM_TYPE) (double t, double *y, double *dydt, odeproblem *_data) |
| function to hand off to DLSODA More...
|
|
typedef void | main_deriv_func(int *neq, double *t, double *y, double *ydot) |
|
typedef void(* | MRGSOLVE_ODE_FUNC) (int neq, double *t, double *y, double *ydot, std::vector< double > ¶m) |
|
|
DL_FUNC | tofunptr (SEXP a) |
|
void | neg_istate (int istate) |
|
template<typename T , typename type2 > |
void | tofunptr (T b, type2 a) |
|
void | dosimeta (void *) |
|
void | dosimeps (void *) |
|
double | PolyExp (const double &x, const double &dose, const double &rate, const double &xinf, const double &tau, const bool ss, const std::vector< double > &a, const std::vector< double > &alpha, const int n) |
|
Rcpp::List | TOUCH_FUNS (const Rcpp::NumericVector &lparam, const Rcpp::NumericVector &linit, const Rcpp::CharacterVector &capture, const Rcpp::List &funs) |
|
◆ MRGSOLVE_GET_PRED_CL
#define MRGSOLVE_GET_PRED_CL (pred[0]) |
map CL to pred position 0 for $PKMODEL
◆ MRGSOLVE_GET_PRED_K10
#define MRGSOLVE_GET_PRED_K10 (pred[0]/pred[1]) |
rate constants for $PKMODEL
◆ MRGSOLVE_GET_PRED_K12
#define MRGSOLVE_GET_PRED_K12 (pred[3]/pred[1]) |
rate constants for $PKMODEL
◆ MRGSOLVE_GET_PRED_K21
#define MRGSOLVE_GET_PRED_K21 (pred[3]/pred[4]) |
rate constants for $PKMODEL
◆ MRGSOLVE_GET_PRED_KA
#define MRGSOLVE_GET_PRED_KA (pred[2]) |
map KA to pred position 2 for $PKMODEL
◆ MRGSOLVE_GET_PRED_Q
#define MRGSOLVE_GET_PRED_Q (pred[3]) |
map Q to pred position 3 for $PKMODEL
◆ MRGSOLVE_GET_PRED_VC
#define MRGSOLVE_GET_PRED_VC (pred[1]) |
map VC to pred position 1 for $PKMODEL
◆ MRGSOLVE_GET_PRED_VP
#define MRGSOLVE_GET_PRED_VP (pred[4]) |
map VP to pred position 4 for $PKMODEL
◆ config_func
◆ deriv_func
◆ init_func
◆ LSODA_ODE_SYSTEM_TYPE
typedef void(* LSODA_ODE_SYSTEM_TYPE) (double t, double *y, double *dydt, odeproblem *_data) |
function to hand off to DLSODA
◆ main_deriv_func
typedef void main_deriv_func(int *neq, double *t, double *y, double *ydot) |
◆ MRGSOLVE_ODE_FUNC
typedef void(* MRGSOLVE_ODE_FUNC) (int neq, double *t, double *y, double *ydot, std::vector< double > ¶m) |
◆ reclist
vector of datarecord
objects for one ID
◆ recstack
vector of reclist
vectors comprising a data set
◆ table_func
◆ dosimeps()
◆ dosimeta()
◆ neg_istate()
void neg_istate |
( |
int |
istate | ) |
|
◆ PolyExp()
double PolyExp |
( |
const double & |
x, |
|
|
const double & |
dose, |
|
|
const double & |
rate, |
|
|
const double & |
xinf, |
|
|
const double & |
tau, |
|
|
const bool |
ss, |
|
|
const dvec & |
a, |
|
|
const dvec & |
alpha, |
|
|
const int |
n |
|
) |
| |
Calculate PK model polyexponentials.
◆ tofunptr() [1/2]
DL_FUNC tofunptr |
( |
SEXP |
a | ) |
|
◆ tofunptr() [2/2]
template<typename T , typename type2 >
void tofunptr |
( |
T |
b, |
|
|
type2 |
a |
|
) |
| |
◆ TOUCH_FUNS()
Rcpp::List TOUCH_FUNS |
( |
const Rcpp::NumericVector & |
lparam, |
|
|
const Rcpp::NumericVector & |
linit, |
|
|
const Rcpp::CharacterVector & |
capture, |
|
|
const Rcpp::List & |
funs |
|
) |
| |
◆ main_derivs