Skip to content

Commit

Permalink
Updated exports
Browse files Browse the repository at this point in the history
  • Loading branch information
bnaras committed Jul 19, 2024
1 parent 6387b59 commit 09fec7d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Collate:
'CVXcanon-R6.R'
'Deque.R'
'canonInterface.R'
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
Encoding: UTF-8
Enhances:
Rcplex,
Expand Down
4 changes: 4 additions & 0 deletions R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
invisible(.Call('_CVXR_sweep_in_place', PACKAGE = 'CVXR', P, c_part))
}

upper_tri_to_full <- function(n) {
.Call('_CVXR_upper_tri_to_full', PACKAGE = 'CVXR', n)
}

#' Create a new LinOp object.
#'
#' @return an external ptr (Rcpp::XPtr) to a LinOp object instance.
Expand Down
12 changes: 12 additions & 0 deletions src/RcppExports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,17 @@ BEGIN_RCPP
return R_NilValue;
END_RCPP
}
// upper_tri_to_full
Eigen::SparseMatrix<double> upper_tri_to_full(int n);
RcppExport SEXP _CVXR_upper_tri_to_full(SEXP nSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< int >::type n(nSEXP);
rcpp_result_gen = Rcpp::wrap(upper_tri_to_full(n));
return rcpp_result_gen;
END_RCPP
}
// LinOp__new
SEXP LinOp__new();
RcppExport SEXP _CVXR_LinOp__new() {
Expand Down Expand Up @@ -439,6 +450,7 @@ static const R_CallMethodDef CallEntries[] = {
{"_CVXR_cpp_convolve", (DL_FUNC) &_CVXR_cpp_convolve, 2},
{"_CVXR_multiply_dgCMatrix_vector", (DL_FUNC) &_CVXR_multiply_dgCMatrix_vector, 2},
{"_CVXR_sweep_in_place", (DL_FUNC) &_CVXR_sweep_in_place, 2},
{"_CVXR_upper_tri_to_full", (DL_FUNC) &_CVXR_upper_tri_to_full, 1},
{"_CVXR_LinOp__new", (DL_FUNC) &_CVXR_LinOp__new, 0},
{"_CVXR_LinOp__get_sparse", (DL_FUNC) &_CVXR_LinOp__get_sparse, 1},
{"_CVXR_LinOp__set_sparse", (DL_FUNC) &_CVXR_LinOp__set_sparse, 2},
Expand Down

0 comments on commit 09fec7d

Please sign in to comment.