| 345 | } |
| 346 | |
| 347 | std::vector<double> concat(const std::vector<double> &a, |
| 348 | const std::vector<double> &b) { |
| 349 | std::vector<double> c(a.begin(), a.end()); |
| 350 | c.insert(c.end(), b.begin(), b.end()); |
| 351 | return c; |
| 352 | } |
| 353 | |
| 354 | std::string fileread(const std::string &filename) { |
| 355 | std::ifstream t(filename); |