NEURON
NrnRandom123 Class Reference

#include <NrnRandom123RNG.hpp>

Inheritance diagram for NrnRandom123:
RNG

Public Member Functions

 NrnRandom123 (std::uint32_t id1, std::uint32_t id2, std::uint32_t id3=0)
 
 ~NrnRandom123 ()
 
std::uint32_t asLong ()
 
double asDouble ()
 
void reset ()
 
- Public Member Functions inherited from RNG
 RNG ()=default
 
virtual ~RNG ()=default
 
result_type operator() ()
 

Public Attributes

nrnran123_States_
 

Additional Inherited Members

- Public Types inherited from RNG
using result_type = std::uint32_t
 
- Static Public Member Functions inherited from RNG
static constexpr result_type min ()
 
static constexpr result_type max ()
 

Detailed Description

Definition at line 8 of file NrnRandom123RNG.hpp.

Constructor & Destructor Documentation

◆ NrnRandom123()

NrnRandom123::NrnRandom123 ( std::uint32_t  id1,
std::uint32_t  id2,
std::uint32_t  id3 = 0 
)

Definition at line 3 of file NrnRandom123RNG.cpp.

◆ ~NrnRandom123()

NrnRandom123::~NrnRandom123 ( )

Definition at line 7 of file NrnRandom123RNG.cpp.

Member Function Documentation

◆ asDouble()

double NrnRandom123::asDouble ( )
inlinevirtual

Implements RNG.

Definition at line 15 of file NrnRandom123RNG.hpp.

◆ asLong()

std::uint32_t NrnRandom123::asLong ( )
inlinevirtual

Implements RNG.

Definition at line 12 of file NrnRandom123RNG.hpp.

◆ reset()

void NrnRandom123::reset ( )
inlinevirtual

Implements RNG.

Definition at line 18 of file NrnRandom123RNG.hpp.

Member Data Documentation

◆ s_

nrnran123_State* NrnRandom123::s_

Definition at line 21 of file NrnRandom123RNG.hpp.


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