Namespaces | |
| namespace | detail |
Classes | |
| struct | ComplexRootsDavidson |
| struct | DataDump |
| struct | Filter |
| Selects which events an untyped sink receives. Unset fields inherit the logger's current settings. More... | |
| struct | Generic |
| struct | IterationCompleted |
| struct | IterationReport |
| struct | NewIteration |
| class | Record |
| A single logged event, as passed to sinks. More... | |
| struct | SolveFinished |
| struct | SolveStarted |
| struct | SummaryReport |
Typedefs | |
| template<typename Scalar > | |
| using | real_t = decltype(std::abs(std::declval< Scalar >())) |
Enumerations | |
| enum class | Verbosity : short { Trace , Debug , Info , None } |
| Different levels of logging. More... | |
| enum class | Severity : short { Normal , Warning , Error , Fatal } |
| Severity of a given message. More... | |
Functions | |
| template<typename T > requires stringifiable<T> | |
| std::string | stringify (const T &t, std::size_t precision=default_precision) |
| Converts the given object into a string. | |
| std::string | compose (std::string_view message, std::string_view suffix) |
Variables | |
| constexpr const std::size_t | default_precision = std::numeric_limits<std::size_t>::max() |
| using molpro::linalg::itsolv::log::real_t = typedef decltype(std::abs(std::declval<Scalar>())) |
The real type associated with a (possibly complex) scalar type, e.g. the type of norms and errors
|
inline |
| std::string molpro::linalg::itsolv::log::stringify | ( | const T & | t, |
| std::size_t | precision = default_precision |
||
| ) |
Converts the given object into a string.
Ranges are printed as [a, b, ...], pair-like objects as { first: second }. Anything else is formatted via std::format or, failing that, operator<<.
| precision | Number of significant digits for floating-point values (and complex numbers of them). Types whose std::formatter understands a ".N" precision specification (e.g. subspace::Matrix) receive it as well. |