Gaussian free field with Dirichlet boundary condition (source code)

= Gaussian free field with Dirichlet boundary condition
{c}

A <Gaussian free field> with <Dirichlet boundary condition> is fixed to zero on a boundary set and has density proportional to the exponential of minus one half of its discrete <Dirichlet form>[Dirichlet energy] on the remaining vertices.