IT++ Logo
Namespaces | Functions
random.cpp File Reference

Implementation of classes for random number generators. More...

#include <itpp/base/random.h>
#include <itpp/base/math/elem_math.h>
#include <limits>

Go to the source code of this file.

Namespaces

namespace  itpp
 

itpp namespace


Functions

void itpp::RNG_reset (unsigned int seed)
 Set the seed of the Global Random Number Generator.
void itpp::RNG_reset ()
 Set the seed of the Global Random Number Generator to the same as last reset/init.
void itpp::RNG_randomize ()
 Set a random seed for the Global Random Number Generator.
void itpp::RNG_get_state (ivec &state)
 Save current full state of generator in memory.
void itpp::RNG_set_state (ivec &state)
 Resume the state saved in memory.

Detailed Description

Implementation of classes for random number generators.

Author:
Tony Ottosson and Adam Piatyszek

-------------------------------------------------------------------------

IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions

Copyright (C) 1995-2008 (see AUTHORS file for a list of contributors)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

-------------------------------------------------------------------------

Definition in file random.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
SourceForge Logo

Generated on Wed Dec 7 2011 03:39:05 for IT++ by Doxygen 1.7.4