AME
ame_Random.hpp File Reference

Random. More...

#include <bit>
#include <cstdint>
Include dependency graph for ame_Random.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

float ame::random ()
 Random. More...
 
float ame::noise ()
 White noise. More...
 

Detailed Description

Random.

Author
Akiyuki Okayasu (akiyu.nosp@m.ki.o.nosp@m.kayas.nosp@m.u@gm.nosp@m.ail.c.nosp@m.om)

AME is released under the MIT license.

Function Documentation

◆ noise()

float ame::noise ( )
inline

White noise.

Returns
float [-1, 1]
See also
ame::random()

◆ random()

float ame::random ( )
inline

Random.

Returns
float [0, 1]
See also
ame::noise()
Note
Adapted from David Blackman and Sebastiano Vigna's xoshiro128+ https://prng.di.unimi.it/xoshiro128plus.c