File: trace.R

package info (click to toggle)
r-cran-regsem 1.6.2+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 496 kB
  • sloc: cpp: 263; ansic: 15; makefile: 2
file content (4 lines) | stat: -rw-r--r-- 48 bytes parent folder | download
1
2
3
4

trace <- function(mat){
  sum(diag(mat))
}