From be34922aeef85005a67460dedc4b7ca31cff2bde Mon Sep 17 00:00:00 2001 From: johnnyliu27 Date: Mon, 26 Nov 2018 19:03:04 -0500 Subject: [PATCH] Fixing equation reference in the theory about random number generation --- docs/source/methods/random_numbers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/methods/random_numbers.rst b/docs/source/methods/random_numbers.rst index 138a6c75e..ce118556e 100644 --- a/docs/source/methods/random_numbers.rst +++ b/docs/source/methods/random_numbers.rst @@ -58,7 +58,7 @@ relationship: \xi_{i+k} = g^k \xi_i + c \frac{g^k - 1}{g - 1} \mod M -Note that :eq:`lcg-skipahead` has the same general form as \eqref{eq:lcg}, so +Note that equation :eq:`lcg-skipahead` has the same general form as equation :eq:`lcg`, so the idea is to determine the new multiplicative and additive constants in :math:`O(\log_2 N)` operations.