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

# gaussianRing(...,sVariableName=>...) -- symbol used for indeterminates in a ring of Gaussian joint probability distributions

- Usage:
    `gaussianRing(G,sVariableName=>t)`
- Inputs:
  - t, a Symbol or a String

## Description

The option gaussianRing(G,sVariableName=>t) changes the symbol used for intedeterminates in the covariance matrix in a polynomial ring created with gaussianRing.

    i1 : R = gaussianRing 4

    o1 = R

    o1 : PolynomialRing

    i2 : gens R

    o2 = {s   , s   , s   , s   , s   , s   , s   , s   , s   , s   }
           1,1   1,2   1,3   1,4   2,2   2,3   2,4   3,3   3,4   4,4

    o2 : List

    i3 : Rnew=gaussianRing(4,sVariableName => "t")

    o3 = Rnew

    o3 : PolynomialRing

    i4 : gens Rnew

    o4 = {t   , t   , t   , t   , t   , t   , t   , t   , t   , t   }
           1,1   1,2   1,3   1,4   2,2   2,3   2,4   3,3   3,4   4,4

    o4 : List

## Functions with optional argument named sVariableName:

- gaussianRing(...,sVariableName=>...) -- symbol used for indeterminates in a ring of Gaussian joint probability distributions

## Further information

- Default value: s
- Function: gaussianRing -- ring of Gaussian correlations on n random variables or a graphical model
- Option key: sVariableName -- optional input to choose the variable names for the covariance matrix

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/GraphicalModels.m2:2723:0.