blob: 65030425fc8227658eefa3eea64ac27ac5ad9391 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
typedef struct State State;
typedef struct Derivative Derivative;
struct State
{
double x, v;
double acc, min, max, avg;
int nsteps;
};
struct Derivative
{
double dx, dv;
};
|