Loading [MathJax]/extensions/tex2jax.js
xerus
a general purpose tensor library
Xerus
Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
x
Variables
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
~
+
Variables
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
x
Typedefs
Enumerations
Enumerator
+
Files
File List
+
File Members
+
All
c
i
l
m
r
s
v
x
Functions
+
Macros
c
i
l
m
r
s
v
x
Documentation
Examples
Git
Issue-Tracker
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
random.h
Go to the documentation of this file.
1
// Xerus - A General Purpose Tensor Library
2
// Copyright (C) 2014-2017 Benjamin Huber and Sebastian Wolf.
3
//
4
// Xerus is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU Affero General Public License as published
6
// by the Free Software Foundation, either version 3 of the License,
7
// or (at your option) any later version.
8
//
9
// Xerus is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU Affero General Public License for more details.
13
//
14
// You should have received a copy of the GNU Affero General Public License
15
// along with Xerus. If not, see <http://www.gnu.org/licenses/>.
16
//
17
// For further information on Xerus visit https://libXerus.org
18
// or contact us at contact@libXerus.org.
19
25
#pragma once
26
27
#include <random>
28
29
#include "
standard.h
"
30
31
namespace
xerus
{
32
namespace
misc {
33
extern
thread_local std::mt19937_64
randomEngine
;
34
extern
thread_local std::normal_distribution<double>
defaultNormalDistribution
;
35
}
36
}
37
xerus
The main namespace of xerus.
Definition:
basic.h:37
xerus::misc::defaultNormalDistribution
thread_local std::normal_distribution< double > defaultNormalDistribution
Definition:
random.cpp:30
xerus::misc::randomEngine
thread_local std::mt19937_64 randomEngine
standard.h
Header file for global shorthand notations of elementary integer types and attribute lists...
include
xerus
misc
random.h
Generated on Wed Jul 19 2017 16:25:11 for xerus by Doxygen 1.8.13