star-sp

Random number generators and distributions
git clone git://git.meso-star.fr/star-sp.git
Log | Files | Refs | README | LICENSE

commit d716e1b6b85e944219bff502a9791d2179e3c10f
parent 7e8495d2dab043d17a59667a9d2efe480e39252f
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed,  2 Dec 2020 15:37:26 +0100

Write the 0.9 release note

Diffstat:
MREADME.md | 15+++++++++++++++
Msrc/ssp.h | 2+-
2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -34,6 +34,21 @@ variable to the directory that contains the `boost` include directory. ## Release notes +### Version 0.9 + +- Rewrite the caching mechanism used to register the RNG states provided by the + proxy to its managed generators. These states are no more saved in files that + continuously grow. The streams have now a limited size, and the states are + structured into them as in a FIFO circular queue. When a queue is full, the + RNG states are no more stored into it but will be generated by the associated + managed RNG. +- Update the `ssp_rng_proxy_create2` function: input arguments are now provided + through a structured variable. Furthermore, its initial state can be + setup from an optionnal RNG. +- Add the `ssp_ran_tetrahedron_uniform[_float]` random variates that uniformly + distributes a point into a tetrahedron. +- Fix the read function of the KISS RNG: de-serialised data could be wrong. + ### Version 0.8.1 - Fix a possible invalid memory read on proxy allocator clear. diff --git a/src/ssp.h b/src/ssp.h @@ -493,7 +493,7 @@ ssp_ran_triangle_uniform_float_pdf /******************************************************************************* * Tetrahedron distribution ******************************************************************************/ - /* Uniform sampling of a tetrahedron */ +/* Uniform sampling of a tetrahedron */ SSP_API double* ssp_ran_tetrahedron_uniform (struct ssp_rng* rng,