Commit graph

12 commits

Author SHA1 Message Date
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