A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
anonymous_namespace{rng-stream.cc} Namespace Reference

Classes

struct  Precalculated
 

Typedefs

typedef double Matrix [3][3]
 

Functions

void MatMatModM (const Matrix A, const Matrix B, Matrix C, double m)
 
void MatTwoPowModM (const Matrix src, Matrix dst, double m, int32_t e)
 
void MatVecModM (const Matrix A, const double s[3], double v[3], double m)
 
double MultModM (double a, double s, double c, double m)
 
struct Precalculated PowerOfTwoConstants (void)
 
void PowerOfTwoMatrix (int n, Matrix a1p, Matrix a2p)
 

Variables

const double a12 = 1403580.0
 
const double a13n = 810728.0
 
const Matrix A1p0
 
const double a21 = 527612.0
 
const double a23n = 1370589.0
 
const Matrix A2p0
 
const double fact = 5.9604644775390625e-8
 
const Matrix InvA1
 
const Matrix InvA2
 
const double m1 = 4294967087.0
 
const double m2 = 4294944443.0
 
const double norm = 1.0 / (m1 + 1.0)
 
const double two17 = 131072.0
 
const double two53 = 9007199254740992.0
 

Variable Documentation

const Matrix anonymous_namespace{rng-stream.cc}::A1p0
Initial value:
= {
{ 0.0, 1.0, 0.0 },
{ 0.0, 0.0, 1.0 },
{ -810728.0, 1403580.0, 0.0 }
}

Definition at line 62 of file rng-stream.cc.

const Matrix anonymous_namespace{rng-stream.cc}::A2p0
Initial value:
= {
{ 0.0, 1.0, 0.0 },
{ 0.0, 0.0, 1.0 },
{ -1370589.0, 0.0, 527612.0 }
}

Definition at line 68 of file rng-stream.cc.

const Matrix anonymous_namespace{rng-stream.cc}::InvA1
Initial value:
= {
{ 184888585.0, 0.0, 1945170933.0 },
{ 1.0, 0.0, 0.0 },
{ 0.0, 1.0, 0.0 }
}

Definition at line 50 of file rng-stream.cc.

const Matrix anonymous_namespace{rng-stream.cc}::InvA2
Initial value:
= {
{ 0.0, 360363334.0, 4225571728.0 },
{ 1.0, 0.0, 0.0 },
{ 0.0, 1.0, 0.0 }
}

Definition at line 56 of file rng-stream.cc.