Difference between revisions of "Manuals/calci/ARROWHEAD"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
==Examples== | ==Examples== | ||
− | *MATRIX("arrowhead") | + | *MATRIX("arrowhead") = 1 |
+ | *MATRIX("arrowhead",3) | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- |
Latest revision as of 00:21, 26 October 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
- MATRIX("arrowhead",3)
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 |