ifw-odp 5.1.1
 
Loading...
Searching...
No Matches
clipm_math_rng.h
Go to the documentation of this file.
1
5
6#ifndef CLIPM_MATH_RNG_H
7#define CLIPM_MATH_RNG_H
8
9/*-----------------------------------------------------------------------------
10 Includes
11 -----------------------------------------------------------------------------*/
12
13#include <cpl.h>
14
15/*-----------------------------------------------------------------------------
16 Declaration Block
17 -----------------------------------------------------------------------------*/
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/*-----------------------------------------------------------------------------
24 Prototypes
25 -----------------------------------------------------------------------------*/
26
27double clipm_math_rng_uniform50( void);
28double clipm_math_rng_gaussian( void);
30 double xmin,
31 double ymin,
32 double xmax,
33 double ymax,
34 cpl_size homogeneity,
35 cpl_size N,
36 cpl_type type);
37
38/*----------------------------------------------------------------------------*/
39
40#ifdef __cplusplus
41} /* extern "C" */
42#endif
43
44#endif /* CLIPM_MATH_RNG_H */
void * clipm_math_rng_poisson_pointpattern_2d(double xmin, double ymin, double xmax, double ymax, cpl_size homogeneity, cpl_size N, cpl_type type)
Generate 2-dimensional pattern of Poisson-distributed points.
Definition clipm_math_rng.c:481
double clipm_math_rng_gaussian(void)
Generate gaussian-distributed random number.
Definition clipm_math_rng.c:250
double clipm_math_rng_uniform50(void)
Generate random number between 0 and 1.
Definition clipm_math_rng.c:133