Last change
on this file since 117 was
117,
checked in by moretto, 11 years ago
|
ESAF version compilable on mac OS
|
File size:
522 bytes
|
Line | |
---|
1 | /* ------------------------------------------------------------------------- |
---|
2 | * rand_gen.h |
---|
3 | * |
---|
4 | * --- header file for random generator |
---|
5 | * |
---|
6 | * Copyright (c) 2000-2003 N.Sakaki, Y.Takizawa, Y.Kawasaki |
---|
7 | * All rights reserved. |
---|
8 | * $Id: rand_gen.h,v 1.2 2004/11/18 01:00:21 sakaki Exp sakaki $ |
---|
9 | * ------------------------------------------------------------------------- |
---|
10 | */ |
---|
11 | #ifndef _RAND_GEN_H |
---|
12 | #define _RAND_GEN_H |
---|
13 | |
---|
14 | #include "Nmt19937ar-cok.hh" |
---|
15 | |
---|
16 | #define RANDOM() genrand_real2() |
---|
17 | #define SRAND(x) init_genrand(x) |
---|
18 | |
---|
19 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.