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

- Usage:
    `markovRing (d,VariableName => q)`
- Inputs:
  - q, a symbol or a string

## 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:

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

## 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 /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/GraphicalModels.m2:1911:0.