linalg[diag] - create a block diagonal matrix
linalg[BlockDiagonal] - a synonym for diag
|
Calling Sequence
|
|
diag(B1, B2, .., Bn)
BlockDiagonal(B1, B2, ..., Bn)
|
|
Parameters
|
|
B[1], B[2], ..., B[n]
|
-
|
square matrices or scalar matrix entries
|
|
|
|
|
Description
|
|
•
|
The call diag(B1, B2, .., Bn) returns a matrix on whose diagonal are the matrix blocks B1, B2, .., Bn.
|
•
|
If used in conjunction with JordanBlock, diag can be used to easily create a Jordan form matrix.
|
•
|
The command with(linalg,diag) allows the use of the abbreviated form of this command.
|
|
|
Download Help Document
Was this information helpful?