Learn R Programming

MESS (version 0.4-3)

tracemp: Fast computation of trace of matrix product

Description

Fast computation of the trace of the matrix product trace(t(A)

Usage

tracemp(A, B)

Arguments

A
A matrix with dimensions n*k.
B
A matrix with dimenions n*k.

Value

The trace of the matrix product