Main Page   Modules   Compound List   File List   Compound Members   File Members  

twister.h File Reference

Contains function declarations for random number generator. More...

#include "isim/various.h"
#include "maloc/maloc.h"

Go to the source code of this file.

Defines

#define _TWISTER_H_   1
 Environment variable for 'twister.h'.


Functions

void sgenrand (unsigned long seed)
 Seed random number generator once. More...

void lsgenrand (unsigned long seed_array[])
 Seed random number generator via array of numbers. More...

double genrand ()
 Get (pseudo) random number scaled onto [0;1]. More...


Detailed Description

Contains function declarations for random number generator.

The Mersenne Twister has no file dependencies at all

Version:
Id:
twister.h,v 1.3 2002/03/27 20:33:51 apbs Exp
Author:
Andreas Vitalis
Attention:
 *
 * ISIM (simulation of explicit ions in the GCE)
 *
 * 
 * Dept. of Chemistry and Biochemistry
 * University of California, San Diego
 *
 * Additional contributing authors listed in the code documentation.
 *
 * Copyright (c) 1999-2002. The Regents of the University of California 
 *                          (Regents).  All Rights Reserved.
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation for educational, research, and not-for-profit purposes,
 * without fee and without a signed licensing agreement, is hereby granted,
 * provided that the above copyright notice, this paragraph and the
 * following two paragraphs appear in all copies, modifications, and
 * distributions.
 *
 * IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
 * SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
 * REGENTS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 * REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
 * PARTICULAR PURPOSE.  THE SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF
 * ANY, PROVIDED HEREUNDER IS PROVIDED "AS IS".  REGENTS HAS NO OBLIGATION
 * TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
 * MODIFICATIONS.
 *
 * 

Generated on Tue Jun 18 16:58:29 2002 for ISIM by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002