trsl logo

trsl::rand_gen Namespace Reference

Random number wrapper functions. More...

Functions

unsigned int uniform_int (unsigned int n)
 Returns an integer in [0,n[. Used internally.
template<typename Real >
Real uniform_01 ()
 Returns a float in [0,1[. Used internally.

Detailed Description

Random number wrapper functions.

© Copyright 2007-2011 Renaud Detry.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt.)
Revised Wed Apr 6 16:30:07 2011.
SourceForge.net Logo