| Multiplipe {Massign} | R Documentation | 
Quickly test matrix multiplication of two matrices interpreted from strings.
Description
Building on Massign's core functionality, the Multiplipe operator ' allows for quick prototyping of matrix multiplications.
Usage
matrix1 %*>% matrix2
Arguments
| matrix1 | a matrix or Massign character matrix that premultiplies | 
| matrix2 | a matrix or Massign character matrix that postmultiplies | 
See Also
Examples
# Basic usage
"1, 2
 3, 4" %*>%
 " 0, 1
   1, 0"
# Second argument can be a matrix:
"1, 2, pi \\ 3, 4, 1 \\ 3, 2, 1" %*>% diag(c(1, 2, 3))
# Or the first, for that matter:
diag(c(1, 2, 3)) %*>% "1, 2, pi \\ 3, 4, 1 \\ 3, 2, 1"
[Package Massign version 1.1.0 Index]