matmult: Matrix Multiplication

Description Usage Arguments Details Value Communication Examples

Description

Multiplies two distributed matrices, if they are conformable.

Usage

1
2
## S4 method for signature 'shaq,matrix'
x %*% y

Arguments

x

A shaq.

y

A regular matrix, globally ownd on all ranks. Since the number of columns of a shaq should be small, this matrix should be small as well.

Details

The two shaqs must be distributed identically.

Value

A shaq.

Communication

The operation is completely local.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
library(kazaam)
x = ranshaq(runif, 10, 3)
y = matrix(1:9, 3, 3)

x %*% y

finalize()

## End(Not run)

kazaam documentation built on May 2, 2019, 8:55 a.m.