PLaSK library

Loading...
Searching...
No Matches
Namespaces | Functions
format.hpp File Reference

This file contains utils to format strings. More...

`#include <complex>`
`#include <boost/lexical_cast.hpp>`
`#include "fmt/format.h"`
`#include "fmt/ostream.h"`
Include dependency graph for format.hpp:
This graph shows which files directly or indirectly include this file:

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.

## Detailed Description

This file contains utils to format strings.

Definition in file format.hpp.