Sponsored links: Algebra eBooks ### The Maxima on-line user's manual

Algebra Calculator

#### Search: #### Mat_unblocker

Function: mat_unblocker (<M>) If <M> is a block matrix, unblock <M> one level. If <M> is a matrix, `mat_unblocker (M)` returns <M>; otherwise, signal an error.

Thus if each entry of <M> is matrix, `mat_unblocker (M)` returns an unblocked matrix, but if each entry of <M> is a block matrix, `mat_unblocker (M)` returns a block matrix with one less level of blocking.

If you use block matrices, most likely youll want to set `matrix_element_mult` to `"."` and `matrix_element_transpose` to transpose. See also `mat_fullunblocker`.

Example:

```          (%i1) A : matrix ([1, 2], [3, 4]);
[ 1  2 ]
(%o1)                       [      ]
[ 3  4 ]
(%i2) B : matrix ([7, 8], [9, 10]);
[ 7  8  ]
(%o2)                       [       ]
[ 9  10 ]
(%i3) matrix ([A, B]);
[ [ 1  2 ]  [ 7  8  ] ]
(%o3)                [ [      ]  [       ] ]
[ [ 3  4 ]  [ 9  10 ] ]
(%i4) mat_unblocker (%);
[ 1  2  7  8  ]
(%o4)                    [             ]
[ 3  4  9  10 ]```

```(%o1)                                true
(%i2) ```

### Related Examples

? mat_unblocker;

Calculate

##### mat_unblocker-matrix

A : matrix ([1, 2], [...

...

...

Calculate

? mat_unblocker;

Calculate

##### mat_unblocker-matrix

A : matrix ([1, 2], [...

...

...

Calculate 