cost 82 ms
Date iteration with Rcpp loop

For fastening purpose, i'm trying to convert a simple 'for loop' in R into a Rcpp one. I have a date vector named "date_vector" which is composed by ...

2023-01-09 16:41:18   2   41    r / loops / rcpp  
Specialising Rcpp::as() for std::array

One of my projects uses C++11 std::array for fixed-sized array types, and so I'm trying to specialise Rcpp::as() for convenient conversion from SEXP t ...

2022-12-22 11:20:20   1   41    r / c++11 / rcpp  
Convert arma:vec to NumericVector in Rcpp

I try to use the quantile function in RcppArmadillo, however, in the tutorial, the output of quantile function is arma::vec (The class of output in R ...

2022-10-06 19:14:48   1   66    r / rcpp  
Check boolean/LogicalVector in Rcpp

I write this Rcpp function: The goal of this function is that: 1) When no input, return "null"; 2) When input TRUE, return "true"; 3) When input FA ...

2022-10-03 19:32:28   1   65    r / rcpp  
Is this correct in Rcpp?

I want to compare each columns, and return all the results after calculating. I try to write the codes, but the outcome was not resonable. Because if ...

2022-10-01 08:12:54   1   85    r / rcpp  

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM