MADNESS  0.10.1
Classes | Namespaces | Typedefs | Functions
ran.h File Reference
#include <madness/madness_config.h>
#include <madness/world/thread.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

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

Namespaces

 madness
 File holds all helper structures necessary for the CC_Operator and CC2 class.
 

Typedefs

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

Functions

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

Typedef Documentation

◆ double_complex

typedef std::complex<double> double_complex

◆ float_complex

typedef std::complex<float> float_complex