A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rng-stream.cc File Reference
#include <cstdlib>
#include <iostream>
#include "rng-stream.h"
#include "fatal-error.h"
#include "log.h"
+ Include dependency graph for rng-stream.cc:

Go to the source code of this file.

Classes

struct  anonymous_namespace{rng-stream.cc}::Precalculated
 

Namespaces

 anonymous_namespace{rng-stream.cc}
 
 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Typedefs

typedef double anonymous_namespace{rng-stream.cc}::Matrix [3][3]
 

Functions

void anonymous_namespace{rng-stream.cc}::MatMatModM (const Matrix A, const Matrix B, Matrix C, double m)
 
void anonymous_namespace{rng-stream.cc}::MatTwoPowModM (const Matrix src, Matrix dst, double m, int32_t e)
 
void anonymous_namespace{rng-stream.cc}::MatVecModM (const Matrix A, const double s[3], double v[3], double m)
 
double anonymous_namespace{rng-stream.cc}::MultModM (double a, double s, double c, double m)
 
 NS_LOG_COMPONENT_DEFINE ("RngStream")
 
struct Precalculated anonymous_namespace{rng-stream.cc}::PowerOfTwoConstants (void)
 
void anonymous_namespace{rng-stream.cc}::PowerOfTwoMatrix (int n, Matrix a1p, Matrix a2p)
 

Variables

const double anonymous_namespace{rng-stream.cc}::a12 = 1403580.0
 
const double anonymous_namespace{rng-stream.cc}::a13n = 810728.0
 
const Matrix anonymous_namespace{rng-stream.cc}::A1p0
 
const double anonymous_namespace{rng-stream.cc}::a21 = 527612.0
 
const double anonymous_namespace{rng-stream.cc}::a23n = 1370589.0
 
const Matrix anonymous_namespace{rng-stream.cc}::A2p0
 
const double anonymous_namespace{rng-stream.cc}::m1 = 4294967087.0
 
const double anonymous_namespace{rng-stream.cc}::m2 = 4294944443.0
 
const double anonymous_namespace{rng-stream.cc}::norm = 1.0 / (m1 + 1.0)
 
const double anonymous_namespace{rng-stream.cc}::two17 = 131072.0
 
const double anonymous_namespace{rng-stream.cc}::two53 = 9007199254740992.0
 

Function Documentation

NS_LOG_COMPONENT_DEFINE ( "RngStream"  )