|
| 1 | +# Generated by using Rcpp::compileAttributes() -> do not edit by hand |
| 2 | +# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 |
| 3 | + |
| 4 | +solve_QP <- function(Sigma, bound, maxiter, theta, linear_func, gradient, ever_active, nactive, kkt_tol, objective_tol, parameter_tol, max_active, kkt_stop, objective_stop, param_stop) { |
| 5 | + .Call('selectiveInference_solve_QP', PACKAGE = 'selectiveInference', Sigma, bound, maxiter, theta, linear_func, gradient, ever_active, nactive, kkt_tol, objective_tol, parameter_tol, max_active, kkt_stop, objective_stop, param_stop) |
| 6 | +} |
| 7 | + |
| 8 | +solve_QP_wide <- function(X, bound, ridge_term, maxiter, theta, linear_func, gradient, X_theta, ever_active, nactive, kkt_tol, objective_tol, parameter_tol, max_active, kkt_stop, objective_stop, param_stop) { |
| 9 | + .Call('selectiveInference_solve_QP_wide', PACKAGE = 'selectiveInference', X, bound, ridge_term, maxiter, theta, linear_func, gradient, X_theta, ever_active, nactive, kkt_tol, objective_tol, parameter_tol, max_active, kkt_stop, objective_stop, param_stop) |
| 10 | +} |
| 11 | + |
| 12 | +update1_ <- function(Q2, w, m, k) { |
| 13 | + .Call('selectiveInference_update1_', PACKAGE = 'selectiveInference', Q2, w, m, k) |
| 14 | +} |
| 15 | + |
| 16 | +downdate1_ <- function(Q1, R, j0, m, n) { |
| 17 | + .Call('selectiveInference_downdate1_', PACKAGE = 'selectiveInference', Q1, R, j0, m, n) |
| 18 | +} |
| 19 | + |
| 20 | +log_density_gaussian_ <- function(noise_scale, internal_linear, internal_state, optimization_linear, optimization_state, offset) { |
| 21 | + .Call('selectiveInference_log_density_gaussian_', PACKAGE = 'selectiveInference', noise_scale, internal_linear, internal_state, optimization_linear, optimization_state, offset) |
| 22 | +} |
| 23 | + |
| 24 | +log_density_gaussian_conditional_ <- function(noise_scale, optimization_linear, optimization_state, offset) { |
| 25 | + .Call('selectiveInference_log_density_gaussian_conditional_', PACKAGE = 'selectiveInference', noise_scale, optimization_linear, optimization_state, offset) |
| 26 | +} |
| 27 | + |
| 28 | +log_density_laplace_ <- function(noise_scale, internal_linear, internal_state, optimization_linear, optimization_state, offset) { |
| 29 | + .Call('selectiveInference_log_density_laplace_', PACKAGE = 'selectiveInference', noise_scale, internal_linear, internal_state, optimization_linear, optimization_state, offset) |
| 30 | +} |
| 31 | + |
| 32 | +log_density_laplace_conditional_ <- function(noise_scale, optimization_linear, optimization_state, offset) { |
| 33 | + .Call('selectiveInference_log_density_laplace_conditional_', PACKAGE = 'selectiveInference', noise_scale, optimization_linear, optimization_state, offset) |
| 34 | +} |
| 35 | + |
0 commit comments