tr: Trace of a matrix

trR Documentation

Trace of a matrix

Description

Returns the trace of a matrix

Usage

tr(a)

Arguments

a

Matrix whose trace is desired

Author(s)

Robin K. S. Hankin

Examples

tr(matrix(1:9,3,3))

emulator documentation built on May 29, 2024, 6:18 a.m.