Manuals/calci/BLOCKDIAGONAL
Jump to navigation
Jump to search
MATRIX (TypeOfMatrix,DimensionsOfMatrix,SeedValuesToUse,IJFunction,PreParameter,IsItInternalCall)
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle TypeOfMatrix} is the type of the matrix.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle DimensionsOfMatrix } 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., Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{bmatrix} A & B \\ C & D \\ \end{bmatrix}}
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 |