NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | Static Public Members | List of all members
nvbio::LCG_random Struct Reference

Detailed description

A very simple Linear Congruential Generator

Definition at line 614 of file numbers.h.

#include <numbers.h>

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE LCG_random (const uint32 s=0)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
next ()
 

Public Members

uint32 m_s
 

Static Public Members

static const uint32 MAX = 0xFFFFFFFF
 

Constructor & Destructor Documentation

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::LCG_random::LCG_random ( const uint32  s = 0)
inline

Definition at line 618 of file numbers.h.

Member Function Documentation

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint32 nvbio::LCG_random::next ( )
inline

Definition at line 620 of file numbers.h.

Member Data Documentation

uint32 nvbio::LCG_random::m_s

Definition at line 622 of file numbers.h.

const uint32 nvbio::LCG_random::MAX = 0xFFFFFFFF
static

Definition at line 616 of file numbers.h.


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