tr {emulator}R 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))

[Package emulator version 1.2-24 Index]