Crandore Hub

RcppTN

Rcpp-Based Truncated Normal Distribution RNG and Family

R-level and C++-level functionality to generate random deviates from and calculate moments of a Truncated Normal distribution using the algorithm of Robert (1995) <DOI:10.1007/BF00143942>. In addition to RNG, functions for calculating moments, densities, and entropies are provided at both levels.

Versions across snapshots

VersionRepositoryFileSize
0.2-2 2026-04-09 windows/windows R-4.5 RcppTN_0.2-2.zip 375.2 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests