File contains small programming tools. More...
Go to the source code of this file.
Macros | |
#define | SHOW(x) std::cout <<"\nName: "<< #x << "\n" << x << "\n" |
Prints the variable. More... | |
Functions | |
bool | julian::isCloseEnough (double x1, double x2, int n) |
Function checks if difference between two numbers is small enough. More... | |
double | julian::roundNumber (double x, int n) |
Function rounds number to a decimal place. More... | |
void | julian::writeToCsv (std::string file_name, std::map< std::string, std::vector< double > > data) |
Function saves data to csv file. More... | |
double | julian::convertStr2Dbl (std::string input) |
Function converts string to double. More... | |
std::string | julian::convertDbl2Str (double input) |
Function converts double to string. More... | |
std::vector< double > | julian::convertStr2Dbl (std::vector< std::string > input) |
Function converts vector of strings to vector of doubles. More... | |
std::pair< std::string, std::string > | julian::catchDataAndSettingFileNames (int ac, char *av[]) |
Function uses boost::program_options to catch the name of data and setting file. More... | |
Detailed Description
File contains small programming tools.
Macro Definition Documentation
#define SHOW | ( | x | ) | std::cout <<"\nName: "<< #x << "\n" << x << "\n" |