Minsky: 3.17.0
operationRS1.cc
Go to the documentation of this file.
1 /*
2  @copyright Steve Keen 2021
3  @author Russell Standish
4  This file is part of Minsky.
5 
6  Minsky is free software: you can redistribute it and/or modify it
7  under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  Minsky is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with Minsky. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 #define OPNAMEDEF
21 #include "pango.h"
22 #include "operation.h"
23 #include "lasso.h"
24 #include "itemT.rcd"
25 #include "operationType.rcd"
26 #include "operation.rcd"
27 #include "minsky_epilogue.h"
28 
29 template <minsky::OperationType::Type T>
31 
32 #define DEFOP(type) \
33  CLASSDESC_ACCESS_EXPLICIT_INSTANTIATION(minsky::Operation<minsky::OperationType::type>); \
34  CLASSDESC_ACCESS_EXPLICIT_INSTANTIATION(OpItemT<minsky::OperationType::type>);
35 
36 DEFOP(constant)
37 DEFOP(time)
38 DEFOP(integrate)
39 DEFOP(differentiate)
40 DEFOP(data)
41 DEFOP(ravel)
42 DEFOP(euler)
43 DEFOP(pi)
44 DEFOP(zero)
45 DEFOP(one)
46 DEFOP(inf)
47 DEFOP(percent)
48 DEFOP(add)
49 DEFOP(subtract)
50 DEFOP(multiply)
51 DEFOP(divide)
52 DEFOP(min)
53 DEFOP(max)
54 DEFOP(and_)
55 DEFOP(or_)
56 DEFOP(log)
57 DEFOP(pow)
59 DEFOP(lt)
60 DEFOP(le)
61 DEFOP(eq)
62 DEFOP(covariance)
63 DEFOP(correlation)
64 DEFOP(linearRegression)
65 DEFOP(userFunction)
66 DEFOP(copy)
67 DEFOP(index)
68 DEFOP(gather)
69 DEFOP(meld)
70 DEFOP(merge)
71 DEFOP(slice)
Expr polygamma(const Expr &x, const Expr &y)
Definition: expr.h:165
UnitsExpressionWalker pow(const UnitsExpressionWalker &x, const UnitsExpressionWalker &y)
base class for operations that have names
Definition: operation.h:97
CLASSDESC_ACCESS_EXPLICIT_INSTANTIATION(minsky::NamedOp)
#define DEFOP(type)
Definition: operationRS1.cc:32
Expr log(const Expr &x)
Definition: expr.h:119