#include "presentation.hpp"
#include <algorithm>
#include <array>
#include <concepts>
#include <cstddef>
#include <functional>
#include <limits>
#include <optional>
#include <stdexcept>
#include <string>
#include <string_view>
#include <type_traits>
#include <utility>
#include <vector>
Go to the source code of this file.
|
template<mdspan_like MDS, typename ElementFormatter >
requires (!std::same_as<std::remove_cvref_t<ElementFormatter>, mdspan_format_options>) |
| std::string | uni20::presentation::format_mdspan (MDS const &mds, output_policy const &policy, ElementFormatter &&formatter, mdspan_format_options const &options={}) |
| | Render every mdspan/tensor element as display-cell-aligned text art.
|
| |
| template<mdspan_like MDS> |
| std::string | uni20::presentation::format_mdspan (MDS const &mds, output_policy const &policy, mdspan_format_options const &options={}) |
| | Render every mdspan/tensor element using default scalar numeric formatting.
|
| |
template<mdspan_like MDS, typename ElementFormatter >
requires (!std::same_as<std::remove_cvref_t<ElementFormatter>, mdspan_preview_options>) |
| mdspan_preview_result | uni20::presentation::format_mdspan_preview (MDS const &mds, output_policy const &policy, ElementFormatter &&formatter, mdspan_preview_options const &options={}) |
| | Render a bounded mdspan/tensor preview without visiting omitted elements.
|
| |
| template<mdspan_like MDS> |
| mdspan_preview_result | uni20::presentation::format_mdspan_preview (MDS const &mds, output_policy const &policy, mdspan_preview_options const &options={}) |
| | Render a bounded mdspan/tensor preview using default scalar numeric formatting.
|
| |