Which of the following describes the trace of a matrix?
Sum of diagonal elements
Product of diagonal elements
Sum of all elements
Maximum element