Difference between revisions of "Manuals/calci/BLOCKDIAGONAL"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''BLOCKDIAGONAL'''</div><br/>")
 
Line 1: Line 1:
<div style="font-size:30px">'''BLOCKDIAGONAL'''</div><br/>
+
<div style="font-size:30px">'''MATRIX("BLOCK-DIAGONAL",order)'''</div><br/>
 +
*<math> order </math>  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., <math>\begin{bmatrix}
 +
A & B \\
 +
C & D \\
 +
\end{bmatrix}</math>
 +
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")
 +
{| class="wikitable"
 +
|-
 +
| 0 || 0 || 0
 +
|-
 +
| 0 || 0 || 0
 +
|-
 +
| 0 || 0 || 0
 +
|}
 +
*MATRIX("BLOCK-DIAGONAL",4,5..7**2)
 +
{| class="wikitable"
 +
|-
 +
| 5 6 7 || 0 || 0 || 0
 +
  5 6 7
 +
|-
 +
| 0 || 5 6 7 || 0 || 0
 +
      5 6 7
 +
|-
 +
| 0 || 0 || 0
 +
|}

Revision as of 11:58, 17 April 2015

MATRIX("BLOCK-DIAGONAL",order)


  • 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")
0 0 0
0 0 0
0 0 0
  • MATRIX("BLOCK-DIAGONAL",4,5..7**2)
5 6 7 0 0 0
 5 6 7
0 5 6 7 0 0
      5 6 7
0 0 0