mat: document that Trace will use a Tracer's implementation
diff --git a/mat/matrix.go b/mat/matrix.go
index ed90c99..efcf7da 100644
--- a/mat/matrix.go
+++ b/mat/matrix.go
@@ -938,7 +938,8 @@
 }
 
 // Trace returns the trace of the matrix. Trace will panic if the
-// matrix is not square.
+// matrix is not square. If a is a Tracer, its Trace method will be
+// used to calculate the matrix trace.
 func Trace(a Matrix) float64 {
 	m, _ := untransposeExtract(a)
 	if t, ok := m.(Tracer); ok {