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

bidirectedEdgesMatrix -- the matrix corresponding to the bidirected edges of a mixed graph

Synopsis

Description

Note that this matrix is 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 = bidirectedEdgesMatrix(R,G)

o3 = | p_(a,a) 0       0       p_(a,d) |
     | 0       p_(b,b) 0       0       |
     | 0       0       p_(c,c) 0       |
     | p_(a,d) 0       0       p_(d,d) |

             4       4
o3 : Matrix R  <--- R

See also

Ways to use bidirectedEdgesMatrix :