| 22 | }; |
| 23 | |
| 24 | struct FormFactorCache { |
| 25 | std::vector<double> q_grid; |
| 26 | std::vector<std::vector<double>> p_q; // [projector][iq] |
| 27 | }; |
| 28 | |
| 29 | double trapezoid_integral(const std::vector<double>& x, const std::vector<double>& y) { |
| 30 | if (x.size() != y.size()) { |
nothing calls this directly
no outgoing calls
no test coverage detected