Documentation
Tools for embedded systems
Loading...
Searching...
No Matches
qnuma.h
1
9
#ifndef QMSTAT_H
10
#define QMSTAT_H
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
#include <stdbool.h>
17
18
typedef
struct
_qNumA_state_s
//skipcq: CXX-E2000
19
{
21
float
x[ 3 ];
23
}
qNumA_state_t
;
24
26
typedef
float (*qNumA_IntegrationMethod_t)(
qNumA_state_t
*x,
27
const
float
s,
28
const
float
dt,
29
const
bool
bUpdate );
39
void
qNumA_StateInit(
qNumA_state_t
*x,
40
const
float
x0,
41
const
float
sn_1,
42
const
float
sn_2 );
43
51
float
qNumA_IntegralRe(
qNumA_state_t
*x,
52
const
float
s,
53
const
float
dt,
54
const
bool
bUpdate );
55
63
float
qNumA_IntegralTr(
qNumA_state_t
*x,
64
const
float
s,
65
const
float
dt,
66
const
bool
bUpdate );
67
75
float
qNumA_IntegralSi(
qNumA_state_t
*x,
76
const
float
s,
77
const
float
dt,
78
const
bool
bUpdate);
79
87
float
qNumA_Derivative2p(
qNumA_state_t
*x,
88
const
float
s,
89
const
float
dt,
90
const
bool
bUpdate );
91
100
float
qNumA_DerivativeBa(
qNumA_state_t
*x,
101
const
float
s,
102
const
float
dt,
103
const
bool
bUpdate );
104
113
float
qNumA_DerivativeFo(
qNumA_state_t
*x,
114
const
float
s,
115
const
float
dt,
116
const
bool
bUpdate );
117
118
#ifdef __cplusplus
119
}
120
#endif
121
122
#endif
qNumA_state_t
Definition
qnuma.h:19
include
qnuma.h
Generated by
1.12.0