random.cpp File Reference

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

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

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 time.
void itpp::RNG_randomize ()
 Set a random seed for the Global Random Number Generator.
void itpp::RNG_get_state (ivec &state)
 Save the current state of the generator in a vector.
void itpp::RNG_set_state (const ivec &state)
 Resume the state of the generator from previously saved vector.


Detailed Description

Implementation of classes for random number generators.

Author:
Tony Ottosson and Adam Piatyszek
-------------------------------------------------------------------------

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

This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.

IT++ 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 3 of the License, or (at your option) any later version.

IT++ 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 IT++. If not, see <http://www.gnu.org/licenses/>.

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


Generated on Tue Jun 2 10:02:14 2009 for mixpp by  doxygen 1.5.8