Difference between revisions of "Manuals/calci/MATRIXDIAGONAL"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''MATRIXDIAGONAL (a)'''</div><br/> *<math> a </math> is any square matrix. ==Description== *This function shows the main diagonal values. *In <ma...")
 
Line 7: Line 7:
 
*The main diagonal of a matrix consists of those elements that lie on the diagonal that runs from top left to bottom right.
 
*The main diagonal of a matrix consists of those elements that lie on the diagonal that runs from top left to bottom right.
 
*Main diagonal is also called  principal diagonal, primary diagonal, leading diagonal, or major diagonal.
 
*Main diagonal is also called  principal diagonal, primary diagonal, leading diagonal, or major diagonal.
*So main diagonal of a matrix A is defined by A is the collection of entries <math>A_{i,j}</math>,where i=j.
+
*So main diagonal of a matrix A is defined by A is the collection of entries <math>a_{i,j}</math>,where i=j.
*Diagonal entries are <math>A_{1,1},A_{2,2},A_{3,3}</math> and so on.
+
*Diagonal entries are <math>a_{11},a_{22},a_{33}</math> and so on.
  
 
==Examples==
 
==Examples==

Revision as of 17:28, 13 June 2017

MATRIXDIAGONAL (a)


  • is any square matrix.

Description

  • This function shows the main diagonal values.
  • In , is any square matrix.
  • The main diagonal of a matrix consists of those elements that lie on the diagonal that runs from top left to bottom right.
  • Main diagonal is also called principal diagonal, primary diagonal, leading diagonal, or major diagonal.
  • So main diagonal of a matrix A is defined by A is the collection of entries ,where i=j.
  • Diagonal entries are and so on.

Examples

1. MATRIXDIAGONAL([[14,12],[13,15]]) = 14 15 2. MATRIXDIAGONAL([[1,2,3],[4,5,6],[9,8,6]]) = 1 5 6 3. MATRIXDIAGONAL([[5,8,12,13],[4,3,2,8],[7,2,5,3],[3,5,9,11]]) = 5 3 5 11

See Also

References