MADNESS  version 0.9
Classes | Namespaces | Typedefs | Functions
ran.h File Reference
#include <madness/madness_config.h>
#include <madness/world/worldthread.h>
#include <complex>
Include dependency graph for ran.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  madness::RandomState
 
class  madness::Random
 A random number generator (portable, vectorized, and thread-safe) More...
 

Namespaces

 madness
 Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
 

Typedefs

typedef std::complex< float > float_complex
 
typedef std::complex< double > double_complex
 

Functions

template<class T >
madness::RandomValue ()
 Random value that wraps the default Fibonacci generator. More...
 
template<>
double madness::RandomValue< double > ()
 Random double. More...
 
template<>
float madness::RandomValue< float > ()
 Random float. More...
 
template<>
int madness::RandomValue< int > ()
 Random int. More...
 
template<>
long madness::RandomValue< long > ()
 Random long. More...
 
template<>
double_complex madness::RandomValue< double_complex > ()
 Random double_complex. More...
 
template<>
float_complex madness::RandomValue< float_complex > ()
 Random float_complex. More...
 
template<class T >
void madness::RandomVector (int n, T *t)
 
template<>
void madness::RandomVector< double > (int n, double *t)
 
template<>
void madness::RandomVector< float > (int n, float *t)
 
template<>
void madness::RandomVector< double_complex > (int n, double_complex *t)
 
template<>
void madness::RandomVector< float_complex > (int n, float_complex *t)
 

Typedef Documentation

typedef std::complex<double> double_complex
typedef std::complex<float> float_complex