NEURON
RNG Class Referenceabstract

#include <RNG.h>

Inheritance diagram for RNG:
MCellRan4 NrnRandom123

Public Types

using result_type = std::uint32_t
 

Public Member Functions

 RNG ()=default
 
virtual ~RNG ()=default
 
virtual result_type asLong ()=0
 
virtual void reset ()=0
 
virtual double asDouble ()=0
 
result_type operator() ()
 

Static Public Member Functions

static constexpr result_type min ()
 
static constexpr result_type max ()
 

Detailed Description

Definition at line 5 of file RNG.h.

Member Typedef Documentation

◆ result_type

using RNG::result_type = std::uint32_t

Definition at line 7 of file RNG.h.

Constructor & Destructor Documentation

◆ RNG()

RNG::RNG ( )
default

◆ ~RNG()

virtual RNG::~RNG ( )
virtualdefault

Member Function Documentation

◆ asDouble()

virtual double RNG::asDouble ( )
pure virtual

Implemented in NrnRandom123, and MCellRan4.

◆ asLong()

virtual result_type RNG::asLong ( )
pure virtual

Implemented in NrnRandom123, and MCellRan4.

◆ max()

static constexpr result_type RNG::max ( )
inlinestaticconstexpr

Definition at line 22 of file RNG.h.

◆ min()

static constexpr result_type RNG::min ( )
inlinestaticconstexpr

Definition at line 19 of file RNG.h.

◆ operator()()

result_type RNG::operator() ( )
inline

Definition at line 25 of file RNG.h.

◆ reset()

virtual void RNG::reset ( )
pure virtual

Implemented in NrnRandom123, and MCellRan4.


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