tr: Trace of a matrix

Description Usage Arguments Author(s) Examples

Description

Returns the trace of a matrix

Usage

1
tr(a)

Arguments

a

Matrix whose trace is desired

Author(s)

Robin K. S. Hankin

Examples

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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.