R/RcppExports.R

Defines functions InvPersistent TermsZero Term LowRankTag TapedEval fft_complex expATv math_absm math_sqrtm math_expm Dense2Sparse SparseArith2 dgmrf0 dmvnorm0 matinv matmul Reduce1 math_atan2 Math1 Arith2 sytrisol splineptr_eval splineptr ip2D_eval_ad ip2D_eval_num ip2D distr_rcompois distr_compois_calc_loglambda distr_compois_calc_logZ distr_besselY distr_besselJ distr_besselI distr_besselK distr_qbeta distr_qweibull distr_qexp distr_qgamma distr_qnorm distr_pbeta distr_pweibull distr_pexp distr_ppois distr_pgamma distr_pnorm distr_dlgamma distr_dgamma distr_dpois distr_dnbinom_robust distr_dnbinom2 distr_dnbinom distr_dtweedie distr_dSHASHo distr_dt distr_dsn distr_dlogis distr_df distr_dbeta distr_dbinom_robust distr_dbinom distr_dweibull distr_dexp ptr_gety ptr_getx dbgprint getVariables getValues independent dependent advec compare_allow get_tape_config set_tape_config get_node get_df get_graph getinvIndex setinvIndex findIndex op2var find_op_by_name RangeProj SpJacFun as_advector ad_context valid

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

valid <- function(x) {
    .Call(`_RTMB_valid`, x)
}

ad_context <- function() {
    .Call(`_RTMB_ad_context`)
}

as_advector <- function(x) {
    .Call(`_RTMB_as_advector`, x)
}

SpJacFun <- function(adf) {
    .Call(`_RTMB_SpJacFun`, adf)
}

RangeProj <- function(adf, i) {
    invisible(.Call(`_RTMB_RangeProj`, adf, i))
}

find_op_by_name <- function(adf, name) {
    .Call(`_RTMB_find_op_by_name`, adf, name)
}

op2var <- function(adf, nodes) {
    .Call(`_RTMB_op2var`, adf, nodes)
}

findIndex <- function(adf, name) {
    .Call(`_RTMB_findIndex`, adf, name)
}

setinvIndex <- function(adf, index) {
    invisible(.Call(`_RTMB_setinvIndex`, adf, index))
}

getinvIndex <- function(adf) {
    .Call(`_RTMB_getinvIndex`, adf)
}

get_graph <- function(adf) {
    .Call(`_RTMB_get_graph`, adf)
}

get_df <- function(adf) {
    .Call(`_RTMB_get_df`, adf)
}

get_node <- function(adf, node) {
    invisible(.Call(`_RTMB_get_node`, adf, node))
}

set_tape_config <- function(comparison = 0L, atomic = 1L, vectorize = 0L) {
    .Call(`_RTMB_set_tape_config`, comparison, atomic, vectorize)
}

get_tape_config <- function() {
    .Call(`_RTMB_get_tape_config`)
}

compare_allow <- function() {
    .Call(`_RTMB_compare_allow`)
}

advec <- function(x) {
    .Call(`_RTMB_advec`, x)
}

dependent <- function(x) {
    .Call(`_RTMB_dependent`, x)
}

independent <- function(x) {
    .Call(`_RTMB_independent`, x)
}

getValues <- function(x) {
    .Call(`_RTMB_getValues`, x)
}

getVariables <- function(x) {
    .Call(`_RTMB_getVariables`, x)
}

dbgprint <- function(x) {
    invisible(.Call(`_RTMB_dbgprint`, x))
}

ptr_getx <- function(adf) {
    .Call(`_RTMB_ptr_getx`, adf)
}

ptr_gety <- function(adf) {
    .Call(`_RTMB_ptr_gety`, adf)
}

distr_dexp <- function(x, rate, give_log) {
    .Call(`_RTMB_distr_dexp`, x, rate, give_log)
}

distr_dweibull <- function(x, shape, scale, give_log) {
    .Call(`_RTMB_distr_dweibull`, x, shape, scale, give_log)
}

distr_dbinom <- function(x, size, prob, give_log) {
    .Call(`_RTMB_distr_dbinom`, x, size, prob, give_log)
}

distr_dbinom_robust <- function(x, size, logit_p, give_log) {
    .Call(`_RTMB_distr_dbinom_robust`, x, size, logit_p, give_log)
}

distr_dbeta <- function(x, shape1, shape2, give_log) {
    .Call(`_RTMB_distr_dbeta`, x, shape1, shape2, give_log)
}

distr_df <- function(x, df1, df2, give_log) {
    .Call(`_RTMB_distr_df`, x, df1, df2, give_log)
}

distr_dlogis <- function(x, location, scale, give_log) {
    .Call(`_RTMB_distr_dlogis`, x, location, scale, give_log)
}

distr_dsn <- function(x, alpha, give_log) {
    .Call(`_RTMB_distr_dsn`, x, alpha, give_log)
}

distr_dt <- function(x, df, give_log) {
    .Call(`_RTMB_distr_dt`, x, df, give_log)
}

distr_dSHASHo <- function(x, mu, sigma, nu, tau, give_log) {
    .Call(`_RTMB_distr_dSHASHo`, x, mu, sigma, nu, tau, give_log)
}

distr_dtweedie <- function(x, mu, phi, p, give_log) {
    .Call(`_RTMB_distr_dtweedie`, x, mu, phi, p, give_log)
}

distr_dnbinom <- function(x, size, prob, give_log) {
    .Call(`_RTMB_distr_dnbinom`, x, size, prob, give_log)
}

distr_dnbinom2 <- function(x, mu, var, give_log) {
    .Call(`_RTMB_distr_dnbinom2`, x, mu, var, give_log)
}

distr_dnbinom_robust <- function(x, log_mu, log_var_minus_mu, give_log) {
    .Call(`_RTMB_distr_dnbinom_robust`, x, log_mu, log_var_minus_mu, give_log)
}

distr_dpois <- function(x, lambda, give_log) {
    .Call(`_RTMB_distr_dpois`, x, lambda, give_log)
}

distr_dgamma <- function(x, shape, scale, give_log) {
    .Call(`_RTMB_distr_dgamma`, x, shape, scale, give_log)
}

distr_dlgamma <- function(x, shape, scale, give_log) {
    .Call(`_RTMB_distr_dlgamma`, x, shape, scale, give_log)
}

distr_pnorm <- function(q, mean, sd) {
    .Call(`_RTMB_distr_pnorm`, q, mean, sd)
}

distr_pgamma <- function(q, shape, scale) {
    .Call(`_RTMB_distr_pgamma`, q, shape, scale)
}

distr_ppois <- function(q, lambda) {
    .Call(`_RTMB_distr_ppois`, q, lambda)
}

distr_pexp <- function(q, rate) {
    .Call(`_RTMB_distr_pexp`, q, rate)
}

distr_pweibull <- function(q, shape, scale) {
    .Call(`_RTMB_distr_pweibull`, q, shape, scale)
}

distr_pbeta <- function(q, shape1, shape2) {
    .Call(`_RTMB_distr_pbeta`, q, shape1, shape2)
}

distr_qnorm <- function(p, mean, sd) {
    .Call(`_RTMB_distr_qnorm`, p, mean, sd)
}

distr_qgamma <- function(p, shape, scale) {
    .Call(`_RTMB_distr_qgamma`, p, shape, scale)
}

distr_qexp <- function(p, rate) {
    .Call(`_RTMB_distr_qexp`, p, rate)
}

distr_qweibull <- function(p, shape, scale) {
    .Call(`_RTMB_distr_qweibull`, p, shape, scale)
}

distr_qbeta <- function(p, shape1, shape2) {
    .Call(`_RTMB_distr_qbeta`, p, shape1, shape2)
}

distr_besselK <- function(x, nu) {
    .Call(`_RTMB_distr_besselK`, x, nu)
}

distr_besselI <- function(x, nu) {
    .Call(`_RTMB_distr_besselI`, x, nu)
}

distr_besselJ <- function(x, nu) {
    .Call(`_RTMB_distr_besselJ`, x, nu)
}

distr_besselY <- function(x, nu) {
    .Call(`_RTMB_distr_besselY`, x, nu)
}

distr_compois_calc_logZ <- function(loglambda, nu) {
    .Call(`_RTMB_distr_compois_calc_logZ`, loglambda, nu)
}

distr_compois_calc_loglambda <- function(logmean, nu) {
    .Call(`_RTMB_distr_compois_calc_loglambda`, logmean, nu)
}

distr_rcompois <- function(loglambda, nu) {
    .Call(`_RTMB_distr_rcompois`, loglambda, nu)
}

ip2D <- function(data, x_range, y_range, con) {
    .Call(`_RTMB_ip2D`, data, x_range, y_range, con)
}

ip2D_eval_num <- function(ptr, x, y) {
    .Call(`_RTMB_ip2D_eval_num`, ptr, x, y)
}

ip2D_eval_ad <- function(ptr, x, y) {
    .Call(`_RTMB_ip2D_eval_ad`, ptr, x, y)
}

splineptr <- function(x, y, method = 3L) {
    .Call(`_RTMB_splineptr`, x, y, method)
}

splineptr_eval <- function(ptr, x) {
    .Call(`_RTMB_splineptr_eval`, ptr, x)
}

sytrisol <- function(L, W) {
    .Call(`_RTMB_sytrisol`, L, W)
}

Arith2 <- function(x, y, op) {
    .Call(`_RTMB_Arith2`, x, y, op)
}

Math1 <- function(x, op) {
    .Call(`_RTMB_Math1`, x, op)
}

math_atan2 <- function(y, x) {
    .Call(`_RTMB_math_atan2`, y, x)
}

Reduce1 <- function(x, op) {
    .Call(`_RTMB_Reduce1`, x, op)
}

matmul <- function(x, y) {
    .Call(`_RTMB_matmul`, x, y)
}

matinv <- function(x) {
    .Call(`_RTMB_matinv`, x)
}

dmvnorm0 <- function(x, s, give_log, keep = NULL) {
    .Call(`_RTMB_dmvnorm0`, x, s, give_log, keep)
}

dgmrf0 <- function(x, q, give_log) {
    .Call(`_RTMB_dgmrf0`, x, q, give_log)
}

SparseArith2 <- function(x, y, op) {
    .Call(`_RTMB_SparseArith2`, x, y, op)
}

Dense2Sparse <- function(x) {
    .Call(`_RTMB_Dense2Sparse`, x)
}

math_expm <- function(x) {
    .Call(`_RTMB_math_expm`, x)
}

math_sqrtm <- function(x) {
    .Call(`_RTMB_math_sqrtm`, x)
}

math_absm <- function(x) {
    .Call(`_RTMB_math_absm`, x)
}

expATv <- function(AT, v, N, cfg) {
    .Call(`_RTMB_expATv`, AT, v, N, cfg)
}

fft_complex <- function(x, dim, inverse = FALSE) {
    .Call(`_RTMB_fft_complex`, x, dim, inverse)
}

TapedEval <- function(F, i) {
    .Call(`_RTMB_TapedEval`, F, i)
}

LowRankTag <- function(x) {
    .Call(`_RTMB_LowRankTag`, x)
}

Term <- function(x_) {
    .Call(`_RTMB_Term`, x_)
}

TermsZero <- function(adf, setZero) {
    invisible(.Call(`_RTMB_TermsZero`, adf, setZero))
}

InvPersistent <- function(adf, setPers) {
    invisible(.Call(`_RTMB_InvPersistent`, adf, setPers))
}

Try the RTMB package in your browser

Any scripts or data that you put into this service are public.

RTMB documentation built on Sept. 12, 2024, 6:45 a.m.