powered by
Hilbert(n, type="matrix", ..., bldim=.BLDIM, ICTXT=.ICTXT)
n
type=
as.ddmatrix
# 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() dx <- Hilbert(100, type="ddmatrix") print(dx) finalize()
Run the code above in your browser using DataLab