fm.conv.layout | R Documentation |
A FMR matrix can store elements in a row-major or column-major order. By changing the data layout, we can improve efficiency of some matrix operations.
fm.conv.layout(fm, byrow = FALSE)
fm |
a FlashR matrix |
byrow |
a logical value to determine the data layout of a FlashR matrix. |
a FlashR matrix
Da Zheng <dzheng5@jhu.edu>
mat <- fm.conv.layout(fm.runif.matrix(100, 2), byrow=TRUE)