HepLib
|
Basic/Useful Functions. More...
Go to the source code of this file.
Namespaces | |
HepLib | |
HepLib namespace. | |
Functions | |
void | HepLib::string_replace_all (string &str, const string &from, const string &to) |
void | HepLib::string_trim (string &str) |
bool | HepLib::string_start_with (const string &fstr, const string &sstr) |
bool | HepLib::string_end_with (const string &fstr, const string &estr) |
bool | HepLib::string_contain (const string &fstr, const string &mstr) |
void | HepLib::Combinations (int n, int m, std::function< void(const int *)> f) |
void | HepLib::CombinationsR (int n, int m, std::function< void(const int *)> f) |
void | HepLib::Permutations (int n, std::function< void(const int *)> f) |
void | HepLib::Permutations (int n, int m, std::function< void(const int *)> f) |
void | HepLib::PermutationsR (int n, int m, std::function< void(const int *)> f) |
bool | HepLib::isSorted (const lst &exs) |
bool | HepLib::isSorted (int n, const ex exs[]) |
int | HepLib::ACSort (lst &exs) |
int | HepLib::ACSort (int n, ex exs[]) |
Basic/Useful Functions.
Definition in file Functions.cpp.
int* a |
Definition at line 234 of file Functions.cpp.