Description Usage Arguments Details Value Examples
SVD using parallel Jacobi algorithm
1 |
x |
a real symmetric matrix |
tol |
a small positive error tolerance. Default is machine tolerance |
Eigenvalues and eigenvectores of a real symmetric matrix using two-sided Jacobi algorithm in parallel. It needs doParallel library for parallelization.
a list of two components as for base::eigen
1 2 3 4 5 6 | (V <- crossprod(matrix(1:25, 5)))
ncores <- detectCores() - 1
registerDoParallel(cores=ncores)
cl <- makeCluster(ncores)
parJacobi(V)
stopCluster(cl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.