msfz751

converting S expression to RcppArmadillo

Aug 16th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 0.12 KB | None | 0 0
  1. RcppExport SEXP ldgc(SEXP u_, SEXP R_) {
  2.  
  3.     arma::rowvec u = as<arma::rowvec>(u_);
  4.     arma::mat    R = as<arma::mat>(R_);
Advertisement
Add Comment
Please, Sign In to add comment