-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Because `admm_MADMMplasso_cpp()` is a subfunction of `hh_nlambda_loop_cpp()`.
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#ifndef MISC_H | ||
#define MISC_H | ||
|
||
#include <RcppArmadillo.h> | ||
Rcpp::List admm_MADMMplasso_cpp( | ||
const arma::vec beta0, | ||
const arma::mat theta0, | ||
arma::mat beta, | ||
arma::mat beta_hat, | ||
arma::cube theta, | ||
const double rho1, | ||
const arma::mat X, | ||
const arma::mat Z, | ||
const int max_it, | ||
const arma::mat W_hat, | ||
const arma::mat XtY, | ||
const arma::mat y, | ||
const int N, | ||
const double e_abs, | ||
const double e_rel, | ||
const double alpha, | ||
const arma::vec lambda, | ||
const double alph, | ||
const Rcpp::List svd_w, | ||
const Rcpp::List tree, | ||
const Rcpp::List invmat, | ||
const arma::vec gg, | ||
const bool my_print = true | ||
); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters