big_transpose | R Documentation |
This function implements a simple cache-oblivious algorithm for the transposition of a Filebacked Big Matrix.
big_transpose(X, backingfile = tempfile(tmpdir = getOption("FBM.dir")))
X |
An object of class FBM. |
backingfile |
Path to the file storing the Big Matrix on disk. An extension ".bk" will be automatically added. Default stores in the temporary directory. |
The new transposed FBM. Dimensions and type are automatically determined from the input FBM.
X <- FBM(6, 5, init = rnorm(30)) X[] Xt <- big_transpose(X) identical(t(X[]), Xt[])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.