| ddmatrix-lu {pbdDMAT} | R Documentation |
LU factorization for distributed matrices with R-like syntax, with calculations performed by the PBLAS and ScaLAPACK libraries.
## S4 method for signature 'ddmatrix' lu(x)
x |
numeric distributed matrices. |
Extensions of R linear algebra functions.
lu() performs LU factorization.
## Not run: # Save code in a file "demo.r" and run with 2 processors by # > mpiexec -np 2 Rscript demo.r library(pbdDMAT, quiet = TRUE) init.grid() # don't do this in production code x <- matrix(1:9, 3) x <- as.ddmatrix(x) y <- solve(t(A) %*% A) print(y) finalize() ## End(Not run)