Commit graph

17 commits

Author SHA1 Message Date
1df7427f7d Fixed Makefile for Catch2 tests. 2021-12-18 17:00:07 +01:00
d344e6cf17 Adapted Makefile to allow for release/debug compiling and used new Makefile for test suite. 2021-12-18 15:59:08 +01:00
82b5773b73 Changed Makefile so everything is beter organised. 2021-12-18 13:00:16 +01:00
Jérôme
747d8bbaf2 Fixed RAND_A_B macro. Added macros for generating random numbers using xorwow, passing the state to the macro. 2019-05-02 18:17:21 +02:00
Jérôme
bbf7a18b66 Added file documentation explaining and listing the features. 2019-05-02 08:58:21 +02:00
Jérôme
7ceb416bec Added random numbers generation Parl-Miller and xorshift enhanced (xorwow). Added specific operator<< routines for std::vector and std::list that DO NOT conflict with other implementations of operator<<. 2019-05-02 08:35:38 +02:00
Jérôme
8ecc9a2518 Added clamp function. Added random generation macros. Added MIN and MAX macros. Added very simple uniform random numbers generator (Park Miller). Updated Chronometer so that any string can be displayed. 2019-04-29 16:54:41 +02:00
Jérôme
b6f1ad5573 Changed int to int64_t in the profiler. Max time is now ~300 years. 2019-04-26 11:18:43 +02:00
Jérôme
6a13eb0c44 Added Template line profiler. Fixed documentation. 2019-04-26 10:55:39 +02:00
Jérôme
33ea40a02f Added TIMER_FOR convenience macro. Added functions to the timer so that it can also be used as a 'normal' timer than can be reset and everything. 2019-04-25 10:59:42 +02:00
Jérôme
fa0e462444 Added a basic timer in utils.hpp. 2019-04-24 12:13:56 +02:00
Jérôme
87e32bc3fc Added sureAbs() template so that we are sure to not cast a double to an int using ::abs() instead of std::abs(). 2019-04-01 16:18:34 +02:00
Jérôme
ee483226e6 Added default test using Catch2 in test/.
Added make doc in Makefile.
2019-04-01 12:51:56 +02:00
Jérôme
5fb5764379 Added helper functions in utils.hpp 2019-03-30 11:48:51 +01:00
Jérôme
8803ac9921 Added automatic dependency system to Makefile. 2019-03-30 10:02:18 +01:00
Jérôme
38b9a872f1 Initial commit. 2019-03-28 16:38:50 +01:00
shooter74
f239e52c31
Initial commit 2019-03-28 16:36:12 +01:00