tr: Trace of Matrix

Description Usage Arguments Value

View source: R/tr.R

Description

Calculates the trace of a square matrix.

Usage

1
tr(x)

Arguments

x

a matrix

Value

The trace of a square matrix x.


BenBarnard/covEst documentation built on May 5, 2019, 2:40 p.m.