MPCRGemm: MPCR GEMM (Matrix-Matrix Multiplication)

39-MPCR GEMMR Documentation

MPCR GEMM (Matrix-Matrix Multiplication)

Description

Performs matrix-matrix multiplication of two given MPCR matrices to performs:
C = alpha A * B + beta C
C = alpha A A^T + beta C

Usage


## S4 method for signature 'Rcpp_MPCR'
MPCR.gemm(a,b = NULL,c,transpose_a= FALSE,transpose_b=FALSE,alpha=1,beta=0)
   

Arguments

a

An MPCR matrix A.

b

An MPCR matrix B, if NULL, the function will perform syrk operation from blas.

c

Input/Output MPCR matrix C.

transpose_a

A flag to indicate whether transpose matrix A should be used, if B is NULL and transpose_a =TRUE
The function will perform the following operation:
C=alphaA^TXA+betaC.

transpose_b

A flag to indicate whether transpose matrix B should be used.

alpha

Specifies the scalar alpha.

beta

Specifies the scalar beta.

Value

An MPCR matrix.


MPCR documentation built on April 13, 2025, 5:08 p.m.

Related to MPCRGemm in MPCR...