d5ee87b7ed
Example Markov : simulation of a Markov chain. Use of a Random module, external call to C rand() function.
14 lines
225 B
C
14 lines
225 B
C
|
|
#ifndef MATHEXT_H
|
|
#define MATHEXT_H
|
|
|
|
|
|
/* Example of a combinatorial function */
|
|
typedef struct Mathext__power_out {
|
|
float y;
|
|
} Mathext__power_out;
|
|
|
|
void Mathext__power_step(float x, int n, Mathext__power_out *o);
|
|
|
|
#endif
|
|
|