|
MADNESS 0.10.1
|
#include <madness/misc/ran.h>#include <iostream>#include <algorithm>#include <cstdio>#include <limits.h>
Namespaces | |
| namespace | madness |
| Namespace for all elements and tools of MADNESS. | |
Functions | |
| template<> | |
| double | madness::RandomValue< double > () |
| Random double. | |
| template<> | |
| double_complex | madness::RandomValue< double_complex > () |
| Random double_complex. | |
| template<> | |
| float | madness::RandomValue< float > () |
| Random float. | |
| template<> | |
| float_complex | madness::RandomValue< float_complex > () |
| Random float_complex. | |
| template<> | |
| int | madness::RandomValue< int > () |
| Random int. | |
| template<> | |
| long | madness::RandomValue< long > () |
| Random long. | |
| template<> | |
| void | madness::RandomVector< double > (int n, double *t) |
| template<> | |
| void | madness::RandomVector< double_complex > (int n, double_complex *t) |
| template<> | |
| void | madness::RandomVector< float > (int n, float *t) |
| template<> | |
| void | madness::RandomVector< float_complex > (int n, float_complex *t) |
Variables | |
| Random | madness::default_random_generator |
| The default random number stream. | |