2
0
mirror of https://github.com/boostorg/random.git synced 2026-01-19 04:22:17 +00:00

80 Commits

Author SHA1 Message Date
Matt Borland
b75f487382 Add reproducer test set 2025-12-02 12:39:27 +01:00
Matt Borland
689186465c Add reproducer test set 2025-11-12 08:57:45 +01:00
Matt Borland
1bed1827a9 Add reproducer test case 2025-06-30 11:17:39 -04:00
Matt Borland
ee39122450 Reduce build requirements, and ensure they are enforced in testing 2025-06-16 13:08:13 -04:00
Young Geun Kim
4f6fdb9dc7 Feature: Generalized inverse Gaussian random generator (#126)
* use Devroye instead of Hormann for GIG

* add gig header file

* add gig test

* move using declarations before member declaration

* move using into each function

* fix tab size and add init()

* add test to jamfile

* remove duplicate iostream operators

* fix formatting again

* add to docs

* remove static because they use non-static member

* add const in member functions

* remove duplicate test

* fix typo

* need dist3 in three parameter test

* specify test1 params

* missing using std::cosh

* sinh and cosh under c++11

* set arg3 different in test

* set test arg value different from the default

* add test3 to cover every line in gig

* remove uninitialized variables compile warning in gig operator

* did not add test3 mistakenly
2025-02-06 08:11:18 -05:00
Matt Borland
f617f0eaf1 Add test to jamfile 2025-02-03 09:40:26 -05:00
Matt Borland
963d75cf55 Add xoshiro128f 2025-01-30 16:20:08 -05:00
Matt Borland
3ee4c9b8f5 Add xoshiro128mm 2025-01-30 16:20:08 -05:00
Matt Borland
2f809444dd Add xoshiro128pp 2025-01-30 16:20:08 -05:00
Matt Borland
c6bc559e5f Add xoshiro512d 2025-01-30 14:29:45 -05:00
Matt Borland
627db23d17 Add xoshiro512mm 2025-01-30 14:29:45 -05:00
Matt Borland
a65d1f410a Add xoshiro512pp 2025-01-30 14:29:44 -05:00
Matt Borland
fa075862ad Rename generators 2025-01-30 12:49:33 -05:00
Matt Borland
bc011f5ef3 Add comparison to reference impl 2025-01-29 16:46:01 -05:00
Matt Borland
3559ca6135 Add xoshiro256_starstar basic testing 2025-01-29 16:44:08 -05:00
Matt Borland
1e8f02957a Add comparison testing 2025-01-29 16:14:07 -05:00
Matt Borland
1c17c07e83 Add basic test set 2025-01-29 15:51:16 -05:00
Matt Borland
13edcb1561 Add test against original C implementation 2025-01-29 15:35:27 -05:00
Matt Borland
0ca2520a66 Add xoshiro256_plusplus tests 2025-01-29 14:42:20 -05:00
René Ferdinand Rivera Morell
dcaee178a6 Add support for modular build structure. (#107)
* Make the library modular usable.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Add missing NO_LIB usage requirements.

* Update library dependencies.

* Add requires-b2 check to top-level build file.

* Bump B2 require to 5.2

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Switch to /boost/test//included target for header only mode of Boost.Test.

* Adjust doc build to avoid boost-root references.

* Update build deps.

* Change Boost Test build refs to work with both old and modular test lib targets.

* Change math dep real target math/tr1.

* Allow deprecated Node version

* Drop MSVC 14.0 support

---------

Co-authored-by: Matt Borland <matt@mattborland.com>
2024-08-19 17:13:10 -04:00
Matt Borland
e35ff648b3 Update test jamfile to use built random library 2024-04-08 09:02:24 +02:00
Matt Borland
d147829468 Add Splitmix64 (#89) 2023-12-15 08:45:47 +01:00
Kostas Savvidis
d565c034aa Update Jamfile.v2 2019-10-29 12:06:07 +02:00
Justinas V. Daugmaudis
3db2d7cb71 Initial QRNG commit 2018-02-18 10:49:14 +02:00
Steven Watanabe
89174b6ca3 Add hyperexponential_distribution. Contributed by Marco Guazzone. 2015-04-01 10:08:06 -06:00
jzmaddock
839acad329 Get multiprecision floating point support working, and add test case. 2015-03-14 18:06:14 +00:00
Steven Watanabe
25cef713f9 Add non-central chi-squared distribution contributed by Thijs van den Berg. 2014-04-08 17:47:01 -07:00
Steven Watanabe
2edb377b13 Add laplace_distribution. Refs #6804. 2014-03-13 17:06:52 -07:00
Steven Watanabe
b7fae47331 Add beta_distribution. Refs #6804. 2014-03-13 16:13:35 -07:00
Steven Watanabe
16b73cb3a7 Optimize uniform_on_sphere for dims <= 3. Fixes #1059. 2014-03-12 17:31:23 -07:00
Marshall Clow
ae12937978 Fix behavior with zero seed re: '26.5.3.3 [rand.eng.sub]/7'; thanks to stl@microsoft for the report; Refs #7951
[SVN r82664]
2013-01-30 06:42:36 +00:00
Steven Watanabe
cb6b4f1ffb Warning patrol
[SVN r70017]
2011-03-16 03:24:42 +00:00
Steven Watanabe
96113f9e2c Update the last tests left in random_test.cpp and move them to the appropriate places.
[SVN r69991]
2011-03-14 23:37:39 +00:00
Steven Watanabe
0a430d620a Move random_number_generator into namespace random, tweak the implementation a bit, and add a test case.
[SVN r69978]
2011-03-14 20:38:12 +00:00
Steven Watanabe
6962916b79 Implement generate_canonical.
[SVN r68813]
2011-02-12 18:06:40 +00:00
Steven Watanabe
b5b8a2d4df Implement independent_bits_engine.
[SVN r68804]
2011-02-12 15:28:53 +00:00
Steven Watanabe
466c39c392 Make sure all engines are tested. Kill validate.cpp, since its functionality is now covered by the main generator tests.
[SVN r68784]
2011-02-11 20:13:48 +00:00
Steven Watanabe
edf89f7503 Move all generator tests to the new framework.
[SVN r68783]
2011-02-11 19:16:29 +00:00
Steven Watanabe
67843975c0 Update xor_combine to match C++0x. min/max are still broken.
[SVN r68767]
2011-02-11 01:16:34 +00:00
Steven Watanabe
c646f4babb Update linear_feedback_shift_engine to match C++0x.
[SVN r68759]
2011-02-10 03:30:27 +00:00
Steven Watanabe
0908708463 Update lagged_fibonacci to match C++0x.
[SVN r68754]
2011-02-09 22:34:46 +00:00
Steven Watanabe
c78729ebf5 Update inversive_congruential.
[SVN r68748]
2011-02-09 19:19:25 +00:00
Steven Watanabe
3cfc38c4f7 Fix const_mod to work in all cases.
[SVN r68747]
2011-02-09 16:49:49 +00:00
Steven Watanabe
de24e82891 Update additive_combine.
[SVN r68727]
2011-02-08 17:46:48 +00:00
Steven Watanabe
411eeb9c26 Update uniform_int and uniform_real.
[SVN r68647]
2011-02-05 05:54:11 +00:00
Steven Watanabe
b2bfbc0b75 Update uniform_smallint.
[SVN r68644]
2011-02-05 01:15:56 +00:00
Steven Watanabe
70ee378773 Update uniform_on_sphere.
[SVN r68631]
2011-02-03 21:16:56 +00:00
Steven Watanabe
23761be280 Add uniform_real_distribution to match C++0x.
[SVN r68444]
2011-01-25 20:08:07 +00:00
Steven Watanabe
a9a48b3330 Add uniform_int_distribution to match C++0x.
[SVN r68440]
2011-01-25 19:16:54 +00:00
Steven Watanabe
f051b0730e Update triangle_distribution to match C++0x.
[SVN r68428]
2011-01-25 01:17:50 +00:00