|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
#include <fstream>#include <iostream>#include <sstream>#include <vector>#include <string>#include <map>#include <complex>#include <algorithm>#include <atomic>#include <chrono>#include <filesystem>#include <functional>#include <stdexcept>#include <thread>#include "csv_helper.h"
Go to the source code of this file.
Functions | |
| std::vector< std::string > | split (const std::string &s, char delimiter) |
| Splits a string into parts using a single-character delimiter. | |
| void | writeWilsonCoefficients (const std::string &coefficientName, std::complex< double > value, double Q_match, const std::string &fileName) |
| void | readParams (std::ifstream &inputFile, std::map< std::string, csl::InitSanitizer< real_t > * > &real, std::map< std::string, csl::InitSanitizer< complex_t > * > &complex) |
| void readParams | ( | std::ifstream & | inputFile, |
| std::map< std::string, csl::InitSanitizer< real_t > * > & | real, | ||
| std::map< std::string, csl::InitSanitizer< complex_t > * > & | complex | ||
| ) |
Definition at line 159 of file csv_helper.cpp.
| std::vector< std::string > split | ( | const std::string & | s, |
| char | delimiter | ||
| ) |
Splits a string into parts using a single-character delimiter.
Consecutive delimiters yield empty tokens. The delimiter itself is not included in the resulting strings.
Example:
| s | Input string to split. |
| delimiter | Character used as separator. |
Definition at line 17 of file csv_helper.cpp.
| void writeWilsonCoefficients | ( | const std::string & | coefficientName, |
| std::complex< double > | value, | ||
| double | Q_match, | ||
| const std::string & | fileName | ||
| ) |
Definition at line 27 of file csv_helper.cpp.