uot;]
Thanks for your help!
On Sat, Feb 24, 2024 at 9:17 AM Dirk Eddelbuettel wrote:
>
> On 24 February 2024 at 11:44, Robin Liu wrote:
> | Thank you Dirk for the response.
> |
> | I called RcppArmadillo::armadillo_get_number_of_omp_threads() on both
> machines
> | and correctl
buettel wrote:
>
> On 23 February 2024 at 09:35, Robin Liu wrote:
> | Hi all,
> |
> | Here is an R script that uses Armadillo to decompose a large matrix and
> print
> | the first 10 eigenvalues.
> |
> | library(RcppArmadillo)
> | library(Rcpp)
> |
Hi all,
Here is an R script that uses Armadillo to decompose a large matrix and
print the first 10 eigenvalues.
library(RcppArmadillo)
library(Rcpp)
src <-
r"(#include
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::export]]
arma::vec getEigenValues(arma::mat M) {
return arma::eig_sym(M);