|
| 1 | +// This file was generated by Rcpp::compileAttributes |
| 2 | +// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 |
| 3 | + |
| 4 | +#include <Rcpp.h> |
| 5 | + |
| 6 | +using namespace Rcpp; |
| 7 | + |
| 8 | +// solve_QP |
| 9 | +Rcpp::List solve_QP(Rcpp::NumericMatrix Sigma, double bound, int maxiter, Rcpp::NumericVector theta, Rcpp::NumericVector linear_func, Rcpp::NumericVector gradient, Rcpp::IntegerVector ever_active, Rcpp::IntegerVector nactive, double kkt_tol, double objective_tol, int max_active); |
| 10 | +RcppExport SEXP selectiveInference_solve_QP(SEXP SigmaSEXP, SEXP boundSEXP, SEXP maxiterSEXP, SEXP thetaSEXP, SEXP linear_funcSEXP, SEXP gradientSEXP, SEXP ever_activeSEXP, SEXP nactiveSEXP, SEXP kkt_tolSEXP, SEXP objective_tolSEXP, SEXP max_activeSEXP) { |
| 11 | +BEGIN_RCPP |
| 12 | + Rcpp::RObject __result; |
| 13 | + Rcpp::RNGScope __rngScope; |
| 14 | + Rcpp::traits::input_parameter< Rcpp::NumericMatrix >::type Sigma(SigmaSEXP); |
| 15 | + Rcpp::traits::input_parameter< double >::type bound(boundSEXP); |
| 16 | + Rcpp::traits::input_parameter< int >::type maxiter(maxiterSEXP); |
| 17 | + Rcpp::traits::input_parameter< Rcpp::NumericVector >::type theta(thetaSEXP); |
| 18 | + Rcpp::traits::input_parameter< Rcpp::NumericVector >::type linear_func(linear_funcSEXP); |
| 19 | + Rcpp::traits::input_parameter< Rcpp::NumericVector >::type gradient(gradientSEXP); |
| 20 | + Rcpp::traits::input_parameter< Rcpp::IntegerVector >::type ever_active(ever_activeSEXP); |
| 21 | + Rcpp::traits::input_parameter< Rcpp::IntegerVector >::type nactive(nactiveSEXP); |
| 22 | + Rcpp::traits::input_parameter< double >::type kkt_tol(kkt_tolSEXP); |
| 23 | + Rcpp::traits::input_parameter< double >::type objective_tol(objective_tolSEXP); |
| 24 | + Rcpp::traits::input_parameter< int >::type max_active(max_activeSEXP); |
| 25 | + __result = Rcpp::wrap(solve_QP(Sigma, bound, maxiter, theta, linear_func, gradient, ever_active, nactive, kkt_tol, objective_tol, max_active)); |
| 26 | + return __result; |
| 27 | +END_RCPP |
| 28 | +} |
| 29 | +// update1_ |
| 30 | +Rcpp::List update1_(Rcpp::NumericMatrix Q2, Rcpp::NumericVector w, int m, int k); |
| 31 | +RcppExport SEXP selectiveInference_update1_(SEXP Q2SEXP, SEXP wSEXP, SEXP mSEXP, SEXP kSEXP) { |
| 32 | +BEGIN_RCPP |
| 33 | + Rcpp::RObject __result; |
| 34 | + Rcpp::RNGScope __rngScope; |
| 35 | + Rcpp::traits::input_parameter< Rcpp::NumericMatrix >::type Q2(Q2SEXP); |
| 36 | + Rcpp::traits::input_parameter< Rcpp::NumericVector >::type w(wSEXP); |
| 37 | + Rcpp::traits::input_parameter< int >::type m(mSEXP); |
| 38 | + Rcpp::traits::input_parameter< int >::type k(kSEXP); |
| 39 | + __result = Rcpp::wrap(update1_(Q2, w, m, k)); |
| 40 | + return __result; |
| 41 | +END_RCPP |
| 42 | +} |
| 43 | +// downdate1_ |
| 44 | +Rcpp::List downdate1_(Rcpp::NumericMatrix Q1, Rcpp::NumericMatrix R, int j0, int m, int n); |
| 45 | +RcppExport SEXP selectiveInference_downdate1_(SEXP Q1SEXP, SEXP RSEXP, SEXP j0SEXP, SEXP mSEXP, SEXP nSEXP) { |
| 46 | +BEGIN_RCPP |
| 47 | + Rcpp::RObject __result; |
| 48 | + Rcpp::RNGScope __rngScope; |
| 49 | + Rcpp::traits::input_parameter< Rcpp::NumericMatrix >::type Q1(Q1SEXP); |
| 50 | + Rcpp::traits::input_parameter< Rcpp::NumericMatrix >::type R(RSEXP); |
| 51 | + Rcpp::traits::input_parameter< int >::type j0(j0SEXP); |
| 52 | + Rcpp::traits::input_parameter< int >::type m(mSEXP); |
| 53 | + Rcpp::traits::input_parameter< int >::type n(nSEXP); |
| 54 | + __result = Rcpp::wrap(downdate1_(Q1, R, j0, m, n)); |
| 55 | + return __result; |
| 56 | +END_RCPP |
| 57 | +} |
0 commit comments