tenno 0.1.0
Loading...
Searching...
No Matches
random.hpp File Reference
#include <limits>
#include <tenno/array.hpp>

Go to the source code of this file.

Namespaces

namespace  tenno
 

Functions

constexpr unsigned int tenno::lcg (const unsigned int seed)
 
template<const unsigned int it>
constexpr unsigned int tenno::gen (const unsigned int N)
 
template<>
constexpr unsigned int tenno::gen< 0 > (const unsigned int N)
 
template<const unsigned int it>
constexpr float tenno::uniform_real_distribution (const unsigned int seed, const float min=0, const float max=1)
 
template<const tenno::size N, const tenno::size it>
constexpr tenno::array< float, N > tenno::random_array_impl (const int seed, const float min, const float max, const tenno::array< float, N > vec)
 
template<const tenno::size N>
constexpr tenno::array< float, N > tenno::random_array (const int seed, const float min=0, const float max=1)