Multiplipe: Quickly test matrix multiplication of two matrices...

Description Usage Arguments See Also Examples

Description

Building on Massign's core functionality, the Multiplipe operator ' allows for quick prototyping of matrix multiplications.

Usage

1
matrix1 %*>% matrix2

Arguments

matrix1

a matrix or Massign character matrix that premultiplies

matrix2

a matrix or Massign character matrix that postmultiplies

See Also

matrix, Massign

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# 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"

Massign documentation built on May 2, 2019, 12:35 p.m.

Related to Multiplipe in Massign...