MeatAxe: zmw - Make Word

MeatAxe 2.4

- Main Page
- Related Pages
- Modules
- Data Structures

zmw - Make Word

## Command Line

    zmw Options No Gen1 Gen2 [Word [Nsp]]
    zmw Options -g NGen No Gen [Word [Nsp]]

Options
  Standard options, see Standard Command Line Options

-g NGen
  Set the number of generators.

No
  Word number/polynomial (see description).

Gen1, Gen2
  Generators (without -g).

Gen
  Generator base name (with -g).

Word
  Word.

Nsp
  Null-space.

## Input Files

Gen1, Gen2
  Generators (without -g).

Gen.1, Gen.2, ...
  Generators (with -g).

## Output Files

Word
  Word.

Nsp
  Null-space.

## Description

zmw calculates an element of the algebra generated by a set of matrices. The word must be specified by its "word number", see The Word Generator.

The first form of the zmw command assumes that there are two generators, and the generators must be given as two files names. The second form uses the "-g" option to specify the number of generators. In this case, a base name is given on the command line, and the generator file names are constructed by appending ".1", ".2", ... to the base name.

The word is written to Word, if present. If Nsp is present, the kernel of the word is calculated and written to this file.

No may be a single number, or a range of numbers in the form "a-b". In this case the nullities of all words are calculated and printed, but no output file is written, even if Word and Nsp are present.

zmw can insert the words into a polynomial before calculating the null-space. To use this feature, the polynomial must be appended to the word number, separated by a "/". After the "/", all coefficients, including zeroes, of the polynomial must be specified as a comma-separated list. For example,

    zmw 103/1,1,0,-1 gen1 gen2

calculates word number 103, and inserts the result into the polynomial x3+x2-1.