# Manuals/calci/MATRIXTRACE

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
MATRIXTRACE (a)

• is any matrix.

## Description

• This function shows the trace value of the given matrix.
• In , is any matirx.
• The trace of an nxn square matrix is defined to be the sum of all main diagonal entries.
• Consider the matrix A with the elements .
• Here trace of the matrix A is =.Where denotes the entry on the row and column of A.
• Now consider 3x3 matrix
• Here tr(A)= a+e+j.

## Examples

1. MATRIXTRACE([[5,19,-36,10,7.6],[20,-17,4.5,43,87]]) = -12
2. MATRIXTRACE([[10,18,-76,-98],[12,85.4,65,78],[10,15,76,123]]) = 171.4
3. MATRIXTRACE([[21,54,98,10,17,23],[90,87,65,43,12,10],[13,-543,-987,-154,100,32],[67,87,97,32,11,987]]) = -847

Trace Matrix