Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Public Attributes
stxxl::random_number64 Struct Reference

Slow and precise uniform [0, 2^64) pseudo-random generator. More...

#include <rand.h>

Collaboration diagram for stxxl::random_number64:
Collaboration graph
[legend]

List of all members.

Public Types

typedef stxxl::uint64 value_type

Public Member Functions

 random_number64 (unsigned seed=0)
value_type operator() () const
 Returns a random number from [0, 2^64)

Public Attributes

random_uniform_slow uniform

Detailed Description

Slow and precise uniform [0, 2^64) pseudo-random generator.

Examples:
algo/test_parallel_sort.cpp.

Definition at line 161 of file rand.h.


Member Typedef Documentation

Definition at line 163 of file rand.h.


Constructor & Destructor Documentation

stxxl::random_number64::random_number64 ( unsigned  seed = 0) [inline]

Definition at line 166 of file rand.h.


Member Function Documentation

value_type stxxl::random_number64::operator() ( ) const [inline]

Returns a random number from [0, 2^64)

Definition at line 170 of file rand.h.


Member Data Documentation

Definition at line 164 of file rand.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines