| ddmatrix-solve {pbdDMAT} | R Documentation |
Solving linear systems and matrix inversion for distributed matrices with R-like syntax, with calculations performed by the PBLAS and ScaLAPACK libraries.
## S4 method for signature 'ddmatrix,ANY' solve(a) ## S4 method for signature 'ddmatrix,ddmatrix' solve(a, b)
a, b |
numeric distributed matrices. Here, |
Extensions of R linear algebra functions.
solve() solves systems and performs matrix inversion when argument
b= is missing.
## 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() x <- ddmatrix(1:9, 3) y <- solve(t(A) %*% A) print(y) finalize() ## End(Not run)