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

directedEdgesMatrix -- the matrix corresponding to the directed edges of a mixed graph

Synopsis

Description

Note that this matrix is NOT symmetric in the symbols.
i1 : G = mixedGraph(digraph {{b,{c,d}},{c,{d}}},bigraph {{a,d}})

o1 = MixedGraph{Bigraph => Bigraph{a => set {d}}   }
                                   d => set {a}
                Digraph => Digraph{b => set {c, d}}
                                   c => set {d}
                                   d => set {}
                Graph => Graph{}

o1 : MixedGraph
i2 : R = gaussianRing G

o2 = R

o2 : PolynomialRing
i3 : S = directedEdgesMatrix(R,G)

o3 = | 0 0 0       0       |
     | 0 0 l_(b,c) l_(b,d) |
     | 0 0 0       l_(c,d) |
     | 0 0 0       0       |

             4       4
o3 : Matrix R  <--- R

See also

Ways to use directedEdgesMatrix :