summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/include/gnuradio/random.h
Commit message (Collapse)AuthorAgeFilesLines
* runtime: fix gr::random API to be fixed-width 64 bit, use XOROSHIRO128+Marcus Müller2021-04-061-8/+47
| | | | | | | | | | | | | | | Seeding being inconsistent between gr::random and things like fastnoise source is an outstanding issue (#1559). Fix that by fixing the API, and pivoting to our built-in XOROSHIRO128+, which is also substantially faster than MT19937. For that purpose, introduce, and python-bind, a wrapper class that can be used with STL distribution shapers. Add a unit test for the (P)RNG. Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* clang-tidy: run full .clang-tidy on C++17 codebaseMarcus Müller2021-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* runtime: Use nanosecond resolution for default random seedThomas Habets2020-04-101-2/+1
| | | | | This exposed some missing forwarding of RNG seed from one object to another, also fixed in this commit.
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* runtime: random facilities use C++11 (minus boost)Marcus Müller2020-01-021-6/+4
| | | | | | This also includes removing the new/delete for the local objects. C++ doesn't need you to manually new/delete objects with definite lifetime...
* Document the statistical distribution that is used to simulate impulse noise.Michael Roe2019-11-201-1/+3
|
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-20/+26
|
* replaced boost::random::uniform_int_distribution with boost::uniform_int to ↵Johannes Demel2017-03-101-2/+2
| | | | resolve issue 1227
* random-analog: fixed reseed issueJohannes Demel2015-09-281-1/+1
|
* random-analog: added new uniform integer distribution sourceJohannes Demel2015-09-281-1/+15
|
* add current year to licence headerStefan2015-09-041-1/+1
|
* remove deprecated RANDOM_MAX global and adjust test-casesStefan2015-09-021-12/+0
|
* add test-case for reseed featureStefan2015-09-011-1/+3
|
* add boost.random as random number generatorStefan2015-09-011-7/+14
|
* fix wrong laplacian random numbers and add testcaseStefan2015-09-011-3/+18
|
* runtime: converting runtime core to gr namespace, gnuradio include dir.Tom Rondeau2013-04-291-0/+81