Macaulay2 » Documentation
Packages » GraphicalModels :: markovRing(...,VariableName=>...)
next | previous | forward | backward | up | index | toc

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

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

Functions with optional argument named VariableName:

Further information

  • Default value: p
  • Function: markovRing -- ring of joint probability distributions on several discrete random variables
  • Option key: VariableName -- optional input to choose indeterminate name in markovRing

The source of this document is in GraphicalModels.m2:1911:0.