54#define ARRAY_SIZE 10000000
56#define TIME_INTERVAL 5
63template <
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;
VectorOfElements sqrt(const VectorOfElements &a)
VectorOfElements excerpt(const VectorOfElements &source, const VectorOfElements &filter)
Advanced Computational Language.
std::shared_ptr< ElementBase > Element