matmult | R Documentation |
Multiplies two matrices, if they are conformable. If one argument is a vector, it will be promoted to either a row or column matrix to make the two arguments conformable.
## S4 method for signature 'fm,fm' x %*% y ## S4 method for signature 'fm,fmV' x %*% y ## S4 method for signature 'fmV,fm' x %*% y ## S4 method for signature 'fm,ANY' x %*% y ## S4 method for signature 'ANY,fm' x %*% y
x |
a FlashR matrix. |
y |
can be a FlashR vector or matrix, an R vector or matrix. |
a FlashR matrix.
mat1 <- fm.runif.matrix(100, 10) mat2 <- fm.runif.matrix(10, 10) mat <- mat1 %*% mat2