| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <cmath> | ||
| 4 | #include <cstdint> | ||
| 5 | #include <utility> | ||
| 6 | #include <vector> | ||
| 7 | |||
| 8 | #include "task/include/task.hpp" | ||
| 9 | |||
| 10 | namespace samoylenko_i_integral_trapezoid { | ||
| 11 | |||
| 12 | 1120 | struct Input { | |
| 13 | std::vector<double> a; | ||
| 14 | std::vector<double> b; | ||
| 15 | std::vector<int> n; | ||
| 16 | int64_t function_choice{}; | ||
| 17 | }; | ||
| 18 | |||
| 19 | using InType = Input; | ||
| 20 | using OutType = double; | ||
| 21 | using TestType = std::pair<InType, double>; | ||
| 22 | |||
| 23 | using BaseTask = ppc::task::Task<InType, OutType>; | ||
| 24 | |||
| 25 | } // namespace samoylenko_i_integral_trapezoid | ||
| 26 |