matmult: Matrix Multiplication

Description Usage Arguments Details Value Communication Examples

View source: R/matmult.r

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 owned 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)

RBigData/kazaam documentation built on Nov. 9, 2021, 9:09 a.m.