MTK++ Latest version: 0.2.0

Namespaces | Functions
gaRanNumGen.h File Reference

Inline functions for random number generation. More...

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
Include dependency graph for gaRanNumGen.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MTKpp
 

MTK++ namespace.


Functions

void MTKpp::setSeed (int seed)
 Set Random Number Generation Seed.
double MTKpp::ranNumBetweenZeroAndOne ()
 Returns a random number (double) between 0 and 1.
double MTKpp::ranNumBetweenZeroAndX (int X)
 Returns a random number (double) between 0 and X.

Detailed Description

Inline functions for random number generation.

Author:
Martin Peters
Date:
2007/09/14 10:28:10
Revision:
1.4

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

MTK++ - C++ package of modeling libraries.

Copyright (C) 2005-2006 (see AUTHORS file for a list of contributors)

This file is part of MTK++.

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

MTK++ 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 Lessser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

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

Generated on Fri Dec 23 2011 09:28:53 for MTK++ by Doxygen 1.7.5.1