Difference between revisions of "Manuals/calci/DIAGONALMATRIX"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="font-size: | + | <div style="font-size:25px">'''MATRIX (TypeOfMatrix,DimensionsOfMatrix,SeedValuesToUse,IJFunction,PreParameter,IsItInternalCall)'''</div><br/> |
− | *<math> | + | *<math>TypeOfMatrix</math> is the type of the matrix. |
+ | *<math> DimensionsOfMatrix </math> is the order of the diagonal matrix. | ||
==Description== | ==Description== | ||
*This function shows the Diagonal matrix of a given order. | *This function shows the Diagonal matrix of a given order. | ||
− | *In <math> | + | *In <math>MATRIX (TypeOfMatrix,DimensionsOfMatrix,SeedValuesToUse,IJFunction,PreParameter,IsItInternalCall</math>, <math>DimensionsOfMatrix</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: | ||
Line 15: | Line 16: | ||
*So the main diagonal entries are need not to be zero and off-diagonal entries are zero. | *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: | *That is,the matrix D = (di,j) with n columns and n rows is diagonal if: | ||
− | <math>\forall i,j \ | + | <math>\forall i,j \isin {1,2,....n},i \ne j \rArr d_{i,j} = 0</math> |
− | + | ||
+ | ==Examples== | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|v=Wc9DwLLXP8k|280|center|Diagonal Matrix}} | ||
+ | |||
+ | ==See Also== | ||
+ | |||
+ | *[[Manuals/calci/DIAGONALFILL| DIAGONALFILL]] | ||
+ | *[[Manuals/calci/ARROWHEAD| ARROWHEAD]] | ||
+ | *[[Manuals/calci/MATRIXOPERATORS| MATRIXOPERATORS]] | ||
+ | |||
+ | ==References== | ||
+ | *[http://mathworld.wolfram.com/DiagonalMatrix.html Diagonal matrix] | ||
+ | |||
+ | |||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | |||
+ | *[[ Z3 | Z3 home ]] |
Latest revision as of 12:42, 9 April 2019
MATRIX (TypeOfMatrix,DimensionsOfMatrix,SeedValuesToUse,IJFunction,PreParameter,IsItInternalCall)
- is the type of the matrix.
- is the order of the diagonal 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:
Examples
Related Videos
See Also
References