Commit Graph

14 Commits

Author SHA1 Message Date
0351313c36 Merge branch 'master' into coord 2017-11-23 17:24:11 +11:00
d3f434b523 coord: make template parameters more flexible
The coordinate system was unable to support types that prohibited
redim or retype operations. Additionally, the `tags' type used for
providing named data parameters was unwiedly.

We remove much of the dependance on template template parameters in the
defined operations and instead define these in terms of a template
specialisation of is_coord.

The tag types were replaced with direct specialisation of the `store'
struct by the primary type, and passing this type through use of the
CRTP.
2017-11-22 17:03:00 +11:00
d67a990de3 random: add uniform integer generator for whole range 2017-09-21 15:59:03 +10:00
b04f0b0c9e random: threadlocal generator should be inline
this avoids multiply defined symbols
2017-09-21 15:58:55 +10:00
b2cf1ae188 random: add forgotten template param to distributions 2017-08-28 16:02:04 +10:00
107947899c random: remove generator choice from easy API
it's supposed to be an easy replacement for std::rand, we don't need to
let the user choose their generator.
2017-08-28 14:12:36 +10:00
246357e279 random: remove typed randomisers without generators 2016-11-17 18:38:08 +11:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
ea36bae110 whitespace 2015-04-01 17:05:13 +11:00
d6c0a821f4 Add choose implementation for fixed size arrays 2013-08-06 12:24:00 +10:00
db6c603517 Add array randomisation helper routine 2012-05-22 14:13:07 +10:00
77942e008d Change my email to an active domain 2012-04-23 13:10:50 +10:00
f07dda9116 Add a random choice from container function 2012-01-04 17:03:27 +11:00
7d32257fa2 Add randomisation helper functions 2011-09-13 15:13:55 +10:00