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

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

Synopsis

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

Further information

See also

Functions with optional argument named Coefficients :