d5ee87b7ed
Example Markov : simulation of a Markov chain. Use of a Random module, external call to C rand() function.
14 lines
207 B
C
14 lines
207 B
C
|
|
#ifndef RANDOM_H
|
|
#define RANDOM_H
|
|
|
|
|
|
/* Example of a combinatorial function */
|
|
typedef struct Random__random_out {
|
|
float z;
|
|
} Random__random_out;
|
|
|
|
void Random__random_step(Random__random_out *o);
|
|
|
|
#endif
|
|
|