|
guanaqo
main
Utilities for scientific software
|
#include <guanaqo/print.hpp>#include <array>#include <cassert>#include <cmath>#include <ostream>#include <span>#include <string_view>Go to the source code of this file.
Namespaces | |
| namespace | guanaqo |
| namespace | guanaqo::detail |
Functions | |
| template<std::floating_point F> | |
| std::string | guanaqo::float_to_str (F value, int precision) |
| template<std::floating_point F> | |
| void | guanaqo::print_elem (std::span< char > buf, F value, std::ostream &os) |
| template<std::integral I> | |
| void | guanaqo::print_elem (auto &, I value, std::ostream &os) |
| template<std::floating_point F> | |
| void | guanaqo::print_elem (std::span< char > buf, std::complex< F > value, std::ostream &os) |
| template<class T> | |
| std::ostream & | guanaqo::detail::print_csv_impl (std::ostream &os, PrintMatrixView< const T > M, PrintOpts opts) |
| template<class T> | |
| std::ostream & | guanaqo::detail::print_matlab_impl (std::ostream &os, PrintMatrixView< const T > M, std::string_view end) |
| template<class T> | |
| std::ostream & | guanaqo::detail::print_python_impl (std::ostream &os, PrintMatrixView< const T > M, std::string_view end, bool squeeze) |