next | previous | forward | backward | up | top | index | toc | Macaulay2 web site

simpleDocFrob(ZZ,Matrix) -- A sample documentation node

Synopsis

Description

Each paragraph of text begins with "Text". The following line starts a sequence of Macaulay2 example input lines. However, see matrix(List).
i1 : M = matrix"1,2;3,4";

              2        2
o1 : Matrix ZZ  <--- ZZ
i2 : simpleDocFrob(3,M)

o2 = | 1 2 0 0 0 0 |
     | 3 4 0 0 0 0 |
     | 0 0 1 2 0 0 |
     | 0 0 3 4 0 0 |
     | 0 0 0 0 1 2 |
     | 0 0 0 0 3 4 |

              6        6
o2 : Matrix ZZ  <--- ZZ

Caveat

This is not a particularly useful function

See also