Difference between revisions of "Manuals/calci/DIAGONALMATRIX"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
*This function shows the Diagonal matrix of a given order. | *This function shows the Diagonal matrix of a given order. | ||
*In <math>DIAGONALMATRIX(Order)</math>, <math>Order</math> is the order of square matrix. | *In <math>DIAGONALMATRIX(Order)</math>, <math>Order</math> is the order of square matrix. | ||
− | *A diagonal matrix is a square matrix which is of the form <math>a_{ij}=c_{i} \delta_{ij}</math> where <math>delta_{ij}</math> is the Kronecker delta, <math>c_{i}</math> are constants, and i,j=1, 2, ..., n. | + | *A diagonal matrix is a square matrix which is of the form <math>a_{ij}=c_{i} \delta_{ij}</math> where <math>\delta_{ij}</math> is the Kronecker delta, <math>c_{i}</math> are constants, and i,j=1, 2, ..., n. |
*The general diagonal matrix is of the form: | *The general diagonal matrix is of the form: | ||
<math>\begin{bmatrix} | <math>\begin{bmatrix} | ||
Line 13: | Line 13: | ||
0 & 0 & \cdots & c_{n} | 0 & 0 & \cdots & c_{n} | ||
\end{bmatrix} </math> | \end{bmatrix} </math> | ||
− | + | *So the main diagonal entries are need not to be zero and off-diagonal entries are zero. | |
+ | *That is,the matrix D = (di,j) with n columns and n rows is diagonal if: | ||
+ | <math>\forall i,j \epsilon {1,2,....n},i \ne j \rArr d_{i,j} = 0</math> | ||
+ | <math>\isin</math> |
Revision as of 13:03, 6 June 2017
DIAGONALMATRIX(Order)
- is the size or order of the matrix.
Description
- This function shows the Diagonal matrix of a given order.
- In , is the order of square matrix.
- A diagonal matrix is a square matrix which is of the form where is the Kronecker delta, are constants, and i,j=1, 2, ..., n.
- The general diagonal matrix is of the form:
- So the main diagonal entries are need not to be zero and off-diagonal entries are zero.
- That is,the matrix D = (di,j) with n columns and n rows is diagonal if: