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

markovRing(...,Coefficients=>...) -- optional input to choose the base field in markovRing or gaussianRing

Description

In both markovRing and gaussianRing, the default coefficient ring is QQ. Putting Coefficients => r for a choice of ring(field) r as an argument in the function markovRing or gaussianRing creates a ring with the desired coefficient ring.

i1 : R2 = markovRing ((2,2),Coefficients=>CC);
i2 : coefficientRing R2

o2 = CC
       53

o2 : ComplexField

See also

Functions with optional argument named Coefficients:

Further information

  • Default value: QQ
  • Function: markovRing -- ring of joint probability distributions on several discrete random variables
  • Option key: Coefficients -- optional input to choose the base field

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