inst/batchtests/expand_collapse.r

suppressPackageStartupMessages(library(kazaam))

if (comm.rank() == 0){
  x = matrix(1:30, 10)
} else {
  x = NULL
}


dx = expand(x)
y = collapse(dx)

comm.print(all.equal(x, y))



finalize()

Try the kazaam package in your browser

Any scripts or data that you put into this service are public.

kazaam documentation built on May 2, 2019, 8:55 a.m.