cpuMatMult: Perform Matrix Multiplication

Description Usage Arguments Value Examples

View source: R/gpuMatMult.R

Description

Performs matrix multiplication using R's BLAS. This function is merely a wrapper for the BLAS dgemm function.

Usage

1
	cpuMatMult(a, b)

Arguments

a

a numeric matrix.

b

a numeric matrix.

Value

A numeric matrix. The matrix is just the product of arguments 'a' and 'b'.

Examples

1
2
3
matA <- matrix(runif(2*3), 2, 3)
matB <- matrix(runif(3*4), 3, 4)
cpuMatMult(matA, matB)

gputools documentation built on May 30, 2017, 1:52 a.m.