Minsky
operationRS2.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 "operation.rcd"
26 #include "operationType.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(sqrt)
37 DEFOP(exp)
38 DEFOP(ln)
39 DEFOP(sin)
40 DEFOP(cos)
41 DEFOP(tan)
42 DEFOP(asin)
43 DEFOP(acos)
44 DEFOP(atan)
45 DEFOP(sinh)
46 DEFOP(cosh)
47 DEFOP(tanh)
48 DEFOP(abs)
49 DEFOP(floor)
50 DEFOP(frac)
51 DEFOP(not_)
52 DEFOP(Gamma)
53 DEFOP(fact)
54 DEFOP(sum)
55 DEFOP(product)
56 DEFOP(infimum)
57 DEFOP(supremum)
58 DEFOP(any)
59 DEFOP(all)
60 DEFOP(infIndex)
61 DEFOP(supIndex)
62 DEFOP(size)
63 DEFOP(shape)
64 DEFOP(mean)
65 DEFOP(median)
66 DEFOP(stdDev)
67 DEFOP(moment)
68 DEFOP(histogram)
69 DEFOP(runningSum)
70 DEFOP(runningProduct)
71 DEFOP(difference)
72 DEFOP(differencePlus)
73 DEFOP(innerProduct)
74 DEFOP(outerProduct)
75 DEFOP(numOps)
Expr sin(const Expr &x)
Definition: expr.h:131
Expr cos(const Expr &x)
Definition: expr.h:137
Expr sqrt(const Expr &x)
Definition: expr.h:154
Expr Gamma(const Expr &x)
Definition: expr.h:160
Expr exp(const Expr &x)
Definition: expr.h:126
Expr sinh(const Expr &x)
Definition: expr.h:142
Expr cosh(const Expr &x)
Definition: expr.h:148
Expr fact(const Expr &x)
Definition: expr.h:173
#define DEFOP(type)
Definition: operationRS2.cc:32