54 #define ARRAY_SIZE 10000000 56 #define TIME_INTERVAL 5 // in seconds 63 template <
typename T>
inline T
testSum(T x1, T x2)
65 using namespace elementOperators;
76 using namespace elementOperators;
77 return excerpt(x1 + x2, (index * c) % cArraySize);
84 using namespace elementOperators;
85 return x1 * (x2 + x2) * x1 + (x2 + x1 * x1) * x2 * x1 * x2 * x1 - x1 / x2 +
86 x1 * (x1 + x2) * x1 + (x2 - x1 * x2) * x2 - x1 * x2 * x1 - x2 / x1 +
87 x1 * (x2 + x1) * x1 - (x2 + x1 * x1) * x2 * x1 * x2 * x1 + x1 / x2 -
88 x1 * (x1 + x2) * x2 + (x2 - x1 * x2) * x2 - x1 * x2 * x1 - x2 / x1 +
89 x1 * (x2 + x1) * x1 - (x2 + x1 * x1) * x2 * x1 * x2 * x1 + x1 / x2;
96 using namespace elementOperators;
Advanced Computational Language.
std::shared_ptr< ElementBase > Element
Element excerpt(Element source, Element filter)