create a block matrix
blockmatrix(m, n, L)
block dimensions of the matrix
list consisting of m*n elements, each of which is a matrix or vector
Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The call blockmatrix(m, n, [B11,..., B1n,..., Bm1,..., Bmn]) creates an m by n block matrix which is filled in using row major order.
The command with(linalg,blockmatrix) allows the use of the abbreviated form of this command.
A ≔ matrix⁡3,3,i,j→i−j
B ≔ matrix⁡3,3,i,j→i−j2
Z ≔ matrix⁡3,3,0
Download Help Document