Difference between revisions of "Manuals/calci/ARROWHEAD"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <div style="font-size:30px">'''MATRIX(" | + | <div style="font-size:30px">'''MATRIX("ARROWHEAD",order)'''</div><br/> |
*<math>order</math> is the order of the arrowhead matrix. | *<math>order</math> is the order of the arrowhead matrix. | ||
Revision as of 04:29, 24 July 2015
MATRIX("ARROWHEAD",order)
- is the order of the arrowhead matrix.
Description
- This function returns the matrix with the type arrowhead.
- In mathematical, a square matrix containing zeros in all entries except for the first row first column and main diagonal.
- i.e., The matrix of the form
A=
- So Calci displays, the elements of the arrowhead matirx are 1 except 1st row and column and main diagonal.
- The matrix has the form Any symmetric permutation of the arrowhead matrix, where P is a permutation matrix is a arrowhead matrix.
- i.e., where P is a permutation matrix is a arrowhead matrix.
- Real symmetric arrowhead matrices are often an essential tool for the computation of the eigenvalues
Examples
- MATRIX("arrowhead")
1 | 1 | 1 |
1 | 1 | 0 |
1 | 0 | 1 |
- MATRIX("arrowhead",5)
1 | 1 | 1 | 1 | 1 |
1 | 1 | 0 | 0 | 0 |
1 | 0 | 1 | 0 | 0 |
1 | 0 | 0 | 1 | 0 |
1 | 0 | 0 | 0 | 1 |