forked from swissmicros/SDKdemo
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathintegrate.h
48 lines (44 loc) · 1.42 KB
/
integrate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef INTEGRATE_H
#define INTEGRATE_H
// ****************************************************************************
// integrate.h DB48X project
// ****************************************************************************
//
// File Description:
//
//
//
//
//
//
//
//
//
//
// ****************************************************************************
// (C) 2023 Christophe de Dinechin <[email protected]>
// This software is licensed under the terms outlined in LICENSE.txt
// ****************************************************************************
// This file is part of DB48X.
//
// DB48X is free software: you can redistribute it and/or modify
// it under the terms outlined in the LICENSE.txt file
//
// DB48X is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// ****************************************************************************
#include "algebraic.h"
#include "functions.h"
#include "symbol.h"
algebraic_p integrate(program_g eq,
symbol_g name,
algebraic_g low,
algebraic_g high);
NFUNCTION(Integrate, 4,
static bool can_be_symbolic(uint a)
{
return a == 0 || a == 1;
}
);
#endif // INTEGRATE_H