trace_fast: A function to compute the trace of two matrices product

Description Usage Arguments Value Examples

Description

This function will compute the trace of two matrices

Usage

1
trace_fast(X, Y)

Arguments

X

a numerical matrix

Y

a numerical matrix with the same size as X

Value

This function returns a scalar contains the trace

Examples

1
## Not run: trace_fast(X, Y)

YipengUva/RpESCA documentation built on July 2, 2019, 6:41 p.m.