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 Nov. 5, 2025, 5:34 p.m.