guanaqo 1.0.0-alpha.26
Utilities for scientific software
Loading...
Searching...
No Matches
print.tpp File Reference
#include <guanaqo/print.hpp>
#include <array>
#include <cassert>
#include <cmath>
#include <ostream>
#include <span>
#include <string_view>
Include dependency graph for print.tpp:
This graph shows which files directly or indirectly include this file:

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)