rtorus: Sampling from a distribution on a torus

Description Usage Arguments

Description

Sampling from a distribution on a torus

Usage

1
rtorus(N, f, a, b)

Arguments

N

Sample size.

f

Probability density as a function of spherical coordinates (theta, phi).

a

Radius of big circle.

b

Radius of small circle.


rudazhang/plmr documentation built on Aug. 30, 2021, 5:43 p.m.