summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-12-16 13:31:13 +0100
committerTyge Løvset <[email protected]>2020-12-16 13:31:13 +0100
commit191b637299bf909d6b7b4db6e5d5e45964574a1c (patch)
tree4048c86232979ad9254813ebd6523ef22a1ba7ee /docs
parenta9498a706b53820817039caba6574f6a34ae78ff (diff)
downloadSTC-modified-191b637299bf909d6b7b4db6e5d5e45964574a1c.tar.gz
STC-modified-191b637299bf909d6b7b4db6e5d5e45964574a1c.zip
Renamed crandom to crand, including renaming of relevant files.
Diffstat (limited to 'docs')
-rw-r--r--docs/cpqueue_api.md2
-rw-r--r--docs/crand_api.md (renamed from docs/crandom_api.md)6
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/cpqueue_api.md b/docs/cpqueue_api.md
index ac33e68f..09cca96d 100644
--- a/docs/cpqueue_api.md
+++ b/docs/cpqueue_api.md
@@ -55,7 +55,7 @@ void cpqueue_X_erase_at(cpqueue_X* self, size_t idx);
```c
#include <stdio.h>
#include "stc/cpqueue.h"
-#include "stc/crandom.h"
+#include "stc/crand.h"
using_cvec(i, int64_t);
using_cpqueue(i, cvec_i, >); // adaptor type, '>' = min-heap
diff --git a/docs/crandom_api.md b/docs/crand_api.md
index 5fc89e78..1a26519c 100644
--- a/docs/crandom_api.md
+++ b/docs/crand_api.md
@@ -1,4 +1,4 @@
-# Module crandom: Pseudo Random Number Generators
+# Module crand: Pseudo Random Number Generators
This describes the API of module **crand**. It contains a *64-bit PRNG*, and can generate
bounded uniform and normal distributed random numbers.
@@ -30,7 +30,7 @@ correlation tests, i.e. N interleaved streams with only one-bit differences in i
All cstr definitions and prototypes may be included in your C source file by including a single header file.
```c
-#include "stc/crandom.h"
+#include "stc/crand.h"
```
## Methods
@@ -57,7 +57,7 @@ RNG, around 68% of the values fall within the range [*mean* - *stddev*, *mean* +
#include <stdio.h>
#include <time.h>
#include <math.h>
-#include "stc/crandom.h"
+#include "stc/crand.h"
#include "stc/cstr.h"
#include "stc/cmap.h"
#include "stc/cvec.h"