drawLaplaceMomentum: Draw a random Laplace momentum

View source: R/getSampleFunctions.R

drawLaplaceMomentumR Documentation

Draw a random Laplace momentum

Description

Generate a d-dimensional momentum where the density of each element is proportional to exp(-|pi|).

Usage

drawLaplaceMomentum(d)

Arguments

d

dimension of the momentum.

Value

a d-dimensional Laplace-distributed momentum.


hdtg documentation built on June 8, 2025, 1:07 p.m.