Revision 04bbc417cf2927b827660bc07743429783569aec authored by HwB on 10 February 2013, 00:00:00 UTC, committed by Gabor Csardi on 10 February 2013, 00:00:00 UTC
1 parent 0e3ae6b
Raw File
trace.R
##
##  m t r a c e . R  Test suite
##

Trace <- pracma::Trace

identical(Trace(1), 1)
identical(Trace(matrix(c(1,2,3,4,5,6,7,8,9), 3, 3)), 15)
# Error: Trace(matrix(1:12, 3, 4))
back to top