Macaulay2 » Documentation
Packages » CodingTheory » EvaluationCode » evaluationCode » toricCode » ExponentsMatrix
next | previous | forward | backward | up | index | toc

# ExponentsMatrix -- specifies the matrix of exponents

- Usage:
    `C.Code`
- Inputs:
  - C, an instance of the type EvaluationCode,
- Outputs:
  - a matrix,

## Description

This symbol is used as a key for storing the matrix of exponents, which is used for the function toricCode.

This symbol is provided by the package CodingTheory.

    i1 : M=matrix{{1,4},{2,5},{10,6}};

                  3       2
    o1 : Matrix ZZ  <-- ZZ

    i2 : T=toricCode(GF 4,M);

    i3 : T.ExponentsMatrix

    o3 = | 1  4 |
         | 2  5 |
         | 3  5 |
         | 4  5 |
         | 5  5 |
         | 10 6 |

                  6       2
    o3 : Matrix ZZ  <-- ZZ

## For the programmer

The object ExponentsMatrix is a symbol.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/CodingTheory.m2:2914:0.