diff options
author | Thomas White <taw@physics.org> | 2011-05-11 17:33:20 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:26 +0100 |
commit | 0910580f88ce9eeaab33f0b694a5fbac5884c642 (patch) | |
tree | bd123ac500761e28d88a64973e350a0594c260d4 /src/utils.h | |
parent | cd82a27f3c2f5eadc984c582e9a4a85768363759 (diff) |
Move gaussian_noise() to utils.c and synergise it with poisson_noise()
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index e3c78d6c..4433023f 100644 --- a/src/utils.h +++ b/src/utils.h @@ -91,6 +91,7 @@ extern int assplode(const char *a, const char *delims, char ***pbits, AssplodeFlag flags); extern void progress_bar(int val, int total, const char *text); +extern double gaussian_noise(double expected, double stddev); extern int poisson_noise(double expected); /* Keep these ones inline, to avoid function call overhead */ |