Lumiera  0.pre.03
»edit your freedom«
SymmetricFive Struct Reference

Description

Note
the test uses a rather elaborate result value setting
  • produces five distinct values
  • value range is symmetrical to origin
  • zero is defined as the neutral value
  • accepts a size_t hash value as basic input

Definition at line 49 of file random-draw-test.cpp.

Static Public Member Functions

static size_t defaultSrc (size_t hash)
 by default use the hash directly as source of randomness
 

Classes

struct  Adaptor
 Adaptor to handle further mapping functions. More...
 
struct  Adaptor< RES(size_t, double)>
 inject external contextual state into a mapping function More...
 
struct  Adaptor< RES(uint, uint)>
 allow a mapping function rely on quantisation cycles More...
 

Class Documentation

◆ lib::test::anonymous_namespace{random-draw-test.cpp}::SymmetricFive::Adaptor

struct lib::test::anonymous_namespace{random-draw-test.cpp}::SymmetricFive::Adaptor
+ Collaboration diagram for SymmetricFive::Adaptor< SIG >:
+ Inheritance diagram for SymmetricFive:
+ Collaboration diagram for SymmetricFive:

The documentation for this struct was generated from the following file: