Difference between revisions of "Manuals/calci/BLOCKDIAGONAL"
Jump to navigation
Jump to search
(6 intermediate revisions by 3 users 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 Block diagonal matrix. | ||
==Description== | ==Description== | ||
Line 15: | Line 16: | ||
==Examples== | ==Examples== | ||
− | *MATRIX("block-diagonal") | + | *MATRIX("block-diagonal",3) |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 25: | Line 26: | ||
|} | |} | ||
*MATRIX("BLOCK-DIAGONAL",4,5..7**2) | *MATRIX("BLOCK-DIAGONAL",4,5..7**2) | ||
− | {| | + | {| border="1" cellpadding="5" cellspacing="0" |
+ | |- | ||
+ | | | ||
+ | 5 6 7 | ||
+ | 5 6 7 | ||
+ | | 0 || 0 || 0 | ||
+ | |- | ||
+ | |0 || | ||
+ | 5 6 7 | ||
+ | 5 6 7 | ||
+ | | 0 || 0 | ||
|- | |- | ||
− | + | |0 || 0 || | |
− | + | 5 6 7 | |
+ | 5 6 7 | ||
+ | |0 | ||
|- | |- | ||
− | | 0 || | + | || 0 || 0 || 0 || |
− | + | 5 6 7 | |
+ | 5 6 7 | ||
|- | |- | ||
− | |||
|} | |} | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|5-yMhZxmuDM|280|center|Block Diagonal Matrix}} | ||
+ | |||
+ | ==See Also== | ||
+ | *[[Manuals/calci/ARROWHEAD| ARROWHEAD]] | ||
+ | *[[Manuals/calci/MATRIXOPERATORS| MATRIXOPERATORS]] | ||
+ | *[[Manuals/calci/ANTIDIAGONAL| ANTIDIAGONAL]] | ||
+ | |||
+ | ==References== | ||
+ | *[http://en.wikipedia.org/wiki/Block_matrix Block] |
Latest revision as of 12:40, 15 August 2018
MATRIX (TypeOfMatrix,DimensionsOfMatrix,SeedValuesToUse,IJFunction,PreParameter,IsItInternalCall)
- is the type of the matrix.
- is the order of the Block diagonal matrix.
Description
- This function gives matrix of order 3 which is satisfying the property of the block diagonal matrix.
- A block matrix is a matrix that is defined using smaller matrices, called blocks.
- For e.g.,
where A, B, C, and D are themselves matrices, is a block matrix.
- Two block matrices have the same shape and their diagonal blocks are square matrices, then they multiply similarly to matrix multiplication.
- In Calci, MATRIX("BLOCK-DIAGONAL") is showing the matrix of order 3 with the entry of 0.
- Users can change the order as well as the entries of that matrix.
Examples
- MATRIX("block-diagonal",3)
0 | 0 | 0 |
0 | 0 | 0 |
0 | 0 | 0 |
- MATRIX("BLOCK-DIAGONAL",4,5..7**2)
5 6 7 5 6 7 |
0 | 0 | 0 |
0 |
5 6 7 5 6 7 |
0 | 0 |
0 | 0 |
5 6 7 5 6 7 |
0 |
0 | 0 | 0 |
5 6 7 5 6 7 |