Difference between revisions of "Manuals/calci/TRACE"
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 16: | Line 16: | ||
==Examples== | ==Examples== | ||
| + | # TRACE([3,6,9;12,-67,-98;45,23,98]) = 34 | ||
| + | # TRACE([[10,15,-19,43.2],[78,56,-90,32.9],[1,17,-143,187],[15,18,432,987]]) = 910 | ||
| + | # TRACE([[3,8],[10,12]]) = 15 | ||
==See Also== | ==See Also== | ||
Revision as of 14:02, 6 July 2017
MATRIXTRACE (a)
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a } is any matrix.
Description
- This function shows the trace value of the given matrix.
- In Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle MATRIXTRACE (a)} , Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} 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 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle tr(A)=a_{11}+a_{22}+...a_{nn}} =Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sum_{i=1}^n a_{ii}} .Where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_{ii}} denotes the entry on the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle ith} row and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle ith} column of A.
- Now consider 3x3 matrix Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A=\begin{pmatrix} a & b &c \\ d & e &f \\ g &h & i \end{pmatrix} }
- Here tr(A)= a+e+j.
Examples
- TRACE([3,6,9;12,-67,-98;45,23,98]) = 34
- TRACE([[10,15,-19,43.2],[78,56,-90,32.9],[1,17,-143,187],[15,18,432,987]]) = 910
- TRACE([[3,8],[10,12]]) = 15