Bridge++
Ver. 1.1.x
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
randomNumbers.h
Go to the documentation of this file.
1
15
#ifndef RANDOMNUMBERS_INCLUDED
16
#define RANDOMNUMBERS_INCLUDED
17
18
#include <cmath>
19
#include <string>
20
21
#include "
defs.h
"
22
#include "
commonParameters.h
"
23
#include "
bridgeIO.h
"
24
#include "
field.h
"
25
27
40
class
RandomNumbers
41
{
42
protected
:
43
Bridge::VerboseLevel
m_vl
;
44
45
public
:
46
47
RandomNumbers
()
48
:
m_vl
(
CommonParameters
::Vlevel()) {}
49
50
virtual
~RandomNumbers
() {}
51
52
void
set_parameter_verboselevel
(
const
Bridge::VerboseLevel
vl
) {
m_vl
=
vl
; }
53
54
virtual
double
get
() = 0;
55
56
void
gauss
(
double
& rn1,
double
& rn2);
57
58
void
uniform
(
Field
&);
59
void
gauss
(
Field
&);
60
62
void
gauss_lex_global
(
Field
&);
63
65
void
gauss_eo_global
(
Field
&);
66
68
void
uniform_lex_global
(
Field
&);
69
};
70
#endif
src
Tools
randomNumbers.h
Generated on Tue Jul 23 2013 10:48:50 for Bridge++ by
1.8.3.1