|
PLaSK library
|
This file contains utils to format strings. More...
#include <complex>#include <boost/lexical_cast.hpp>#include "fmt/format.h"#include "fmt/ostream.h"Go to the source code of this file.
Namespaces | |
| namespace | plask |
| Patterson quadrature for complex function along specified line. | |
Functions | |
| template<typename T > | |
| std::string | plask::str (T x) |
| Convert something to pretty string. | |
| std::string | plask::str (double x, const char *fmt="{:.9g}") |
| Convert double number to pretty string. | |
| std::string | plask::str (std::complex< double > x, const char *fmt="{:.9g}{:+0.9g}j", const char *rfmt=nullptr) |
| Convert complex number to pretty string. | |
This file contains utils to format strings.
Definition in file format.hpp.