next | previous | forward | backward | up | top | index | toc | Macaulay2 website
GraphicalModels :: markovRing(...,VariableName=>...)

markovRing(...,VariableName=>...) -- symbol used for indeterminates in a ring of discrete joint probability distributions

Synopsis

Description

The indeterminates in the polynomial ring made by markovRing are labeled with the letter ''p'' suggesting probability distributions. However, it is useful to be able to create a new ring where the indeterminates are labeled different (for example, they may represent marginal probabilities).

i1 : d=(1,2);
i2 : markovRing (d,VariableName => q);
i3 : gens oo

o3 = {q   , q   }
       1,1   1,2

o3 : List

Further information

Functions with optional argument named VariableName :