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 rolling linux/jammy R-4.5 RcppTN_0.2-2.tar.gz 49.3 KiB
0.2-2 rolling linux/noble R-4.5 RcppTN_0.2-2.tar.gz 48.8 KiB
0.2-2 rolling source/ R- RcppTN_0.2-2.tar.gz 13.2 KiB
0.2-2 latest linux/jammy R-4.5 RcppTN_0.2-2.tar.gz 49.3 KiB
0.2-2 latest linux/noble R-4.5 RcppTN_0.2-2.tar.gz 48.8 KiB
0.2-2 latest source/ R- RcppTN_0.2-2.tar.gz 13.2 KiB
0.2-2 2026-04-26 source/ R- RcppTN_0.2-2.tar.gz 13.2 KiB
0.2-2 2026-04-23 source/ R- RcppTN_0.2-2.tar.gz 13.2 KiB
0.2-2 2026-04-09 windows/windows R-4.5 RcppTN_0.2-2.zip 375.2 KiB
0.2-2 2025-04-20 source/ R- RcppTN_0.2-2.tar.gz 13.2 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests