-- -*- M2-comint -*- hash: 17226019338894108122

i1 : G = graph({1,2,3,4}, {{1,2},{2,3},{3,4},{4,3}});

i2 : B=incidenceMatrix G;

              4       3
o2 : Matrix ZZ  <-- ZZ

i3 : S=ZZ/2[t_(0)..t_(#vertexSet G-1)];

i4 : Y=evCodeGraph(coefficientRing S,B,flatten entries basis(1,S))

                                      ZZ 3
o4 = EvaluationCode{AmbientModule => (--)                                                             }
                                       2
                    cache => CacheTable{}
                                                               ZZ 4
                    LinearCode => LinearCode{AmbientModule => (--)                                   }
                                                                2
                                                          ZZ
                                             BaseField => --
                                                           2
                                             cache => CacheTable{}
                                             Code => image | 1 0 0 |
                                                           | 1 1 0 |
                                                           | 0 1 1 |
                                                           | 0 0 1 |
                                             GeneratorMatrix => | 1 1 0 0 |
                                                                | 0 1 1 0 |
                                                                | 0 0 1 1 |
                                             Generators => {{1, 1, 0, 0}, {0, 1, 1, 0}, {0, 0, 1, 1}}
                                             ParityCheckMatrix => | 1 1 1 1 |
                                             ParityCheckRows => {{1, 1, 1, 1}}
                    Points => {{1, 1, 0, 0}, {0, 1, 1, 0}, {0, 0, 1, 1}}
                    PolynomialSet => {t  + 1, t , t , t }
                                       2       1   2   3
                                                           2                            2
                    VanishingIdeal => ideal (t  + t  + 1, t  + t , t t  + t  + t  + 1, t  + t )
                                              0    2       2    2   1 2    1    2       1    1

o4 : EvaluationCode

i5 : 
