tr {ThreeWay} | R Documentation |
Computes the trace of a matrix.
tr(a)
a |
Matrix |
t |
Trace of |
Maria Antonietta Del Ferraro mariaantonietta.delferraro@yahoo.it
Henk A.L. Kiers h.a.l.kiers@rug.nl
Paolo Giordani paolo.giordani@uniroma1.it
X <- matrix(rnorm(6*6),ncol=6)
trace <- tr(X)