tr: Function returns the trace of a square numerical matrix

View source: R/tr.R

trR Documentation

Function returns the trace of a square numerical matrix

Description

Function returns the trace of a square numerical matrix

Usage

tr(x)

Arguments

x

A square numeric matrix or data frame that can be converted to a square numeric matrix.

Value

A scalar that represents the trace of a matrix


deandevl/RmatrixPkg documentation built on March 11, 2023, 2:39 a.m.