#include "global.h"
Go to the source code of this file.
Functions |
base_generator_type | randGenerator (42u) |
boost::uniform_real | uniDistReal (0, 1) |
boost::variate_generator
< base_generator_type
&, boost::uniform_real<> > | uniReal (randGenerator, uniDistReal) |
boost::uniform_int | uniDistInt (0, INT_MAX) |
boost::variate_generator
< base_generator_type
&, boost::uniform_int<> > | uniInt (randGenerator, uniDistInt) |
boost::normal_distribution | normDist (0, 1) |
boost::variate_generator
< base_generator_type
&, boost::normal_distribution<> > | normReal (randGenerator, normDist) |
boost::math::normal_distribution | normDistMath (0, 1) |
void | randPerm (vector< int > &A, int n) |
string | itos (int number) |
void | skipLinesUntil (ifstream &infile, string text) |
char * | getValue (ifstream &infile) |
string | getStringValue (ifstream &infile) |
void | getBound (ifstream &infile, vector< double > *bound_r, vector< int > *bound_d_z, int n) |
void | findAndReplace (string &text, const char *find, const char *replace) |
Function Documentation
void findAndReplace |
( |
string & |
text, |
|
|
const char * |
find, |
|
|
const char * |
replace |
|
) |
| |
void getBound |
( |
ifstream & |
infile, |
|
|
vector< double > * |
bound_r, |
|
|
vector< int > * |
bound_d_z, |
|
|
int |
n |
|
) |
| |
string getStringValue |
( |
ifstream & |
infile ) |
|
char* getValue |
( |
ifstream & |
infile ) |
|
string itos |
( |
int |
number ) |
|
boost::normal_distribution normDist |
( |
0 |
, |
|
|
1 |
|
|
) |
| |
boost::math::normal_distribution normDistMath |
( |
0 |
, |
|
|
1 |
|
|
) |
| |
boost::variate_generator<base_generator_type&, boost::normal_distribution<> > normReal |
( |
randGenerator |
, |
|
|
normDist |
|
|
) |
| |
void randPerm |
( |
vector< int > & |
A, |
|
|
int |
n |
|
) |
| |
void skipLinesUntil |
( |
ifstream & |
infile, |
|
|
string |
text |
|
) |
| |
boost::uniform_int uniDistInt |
( |
0 |
, |
|
|
INT_MAX |
|
|
) |
| |
boost::uniform_real uniDistReal |
( |
0 |
, |
|
|
1 |
|
|
) |
| |
boost::variate_generator<base_generator_type&, boost::uniform_int<> > uniInt |
( |
randGenerator |
, |
|
|
uniDistInt |
|
|
) |
| |
boost::variate_generator<base_generator_type&, boost::uniform_real<> > uniReal |
( |
randGenerator |
, |
|
|
uniDistReal |
|
|
) |
| |