Difference between revisions of "Manuals/calci/MATRIXTRACE"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''MATRIXTRACE (a) '''</div><br/> *<math> a </math> is any matrix. ==Description== *This function shows the trace value of the given matrix. *In <...")
 
Line 7: Line 7:
 
*The trace of an nxn square matrix is defined to be the sum of all main diagonal entries.
 
*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 <math>(a_{ij})</math>.
 
*Consider the matrix A with the elements <math>(a_{ij})</math>.
*Here trace of the matrix A is <math>tr(A)=a_{11}+a_{22}+...a_{nn}</math>=<math>sum_{i=1}^n a_{ii}</math>.Where <math>a_{ii}</math> denotes the entry on the <math>ith</math> row and <math>ith</math> column of A.
+
*Here trace of the matrix A is <math>tr(A)=a_{11}+a_{22}+...a_{nn}</math>=<math>\sum_{i=1}^n a_{ii}</math>.Where <math>a_{ii}</math> denotes the entry on the <math>ith</math> row and <math>ith</math> column of A.
 
*Now consider 3x3 matrix <math> A=\begin{pmatrix}
 
*Now consider 3x3 matrix <math> A=\begin{pmatrix}
 
a & b &c \\
 
a & b &c \\

Revision as of 15:29, 5 July 2017

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

See Also

References