next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
SimpleDoc :: simpleDocFrob(ZZ,Matrix)

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
See docExample for the code used to create this documentation.

Caveat

This is not a particularly useful function.

See also