Learn R Programming

MGMM (version 0.3.1)

tr: Matrix Trace

Description

Calculates the trace of a matrix \(A\).

Usage

tr(A)

Arguments

A

Numeric matrix.

Value

Scalar.