GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
include
filters
gp_rand.h
1
// SPDX-License-Identifier: LGPL-2.1-or-later
2
/*
3
* Copyright (C) 2009-2012 Cyril Hrubis <metan@ucw.cz>
4
*/
5
6
/*
7
8
Functions to generate random numbers.
9
10
*/
11
12
#ifndef FILTERS_GP_RAND_H
13
#define FILTERS_GP_RAND_H
14
15
/*
16
* Fills the array with size integers with Normal (Gaussian) distribution
17
* defined by sigma and mu parameters.
18
*
19
* The size _MUST_ be even.
20
*/
21
void
gp_norm_int(
int
*arr,
unsigned
int
size,
int
sigma,
int
mu);
22
23
#endif
/* FILTERS_GP_RAND_H */
Generated by
1.9.8