TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
print.hpp File Reference
#include "./arithmetic.hpp"
#include "./concepts.hpp"
#include "./array_adapter.hpp"
#include "./layout/idx_map.hpp"
#include "./layout/permutation.hpp"
#include "./map.hpp"
#include "./traits.hpp"
#include <cstdint>
#include <ostream>

Detailed Description

Provides various overloads of the operator<< for nda related objects.

Definition in file print.hpp.

Go to the source code of this file.

Functions

template<typename A >
requires (is_regular_or_view_v<A>)
std::ostream & nda::operator<< (std::ostream &sout, A const &a)
 Write an nda::basic_array or nda::basic_array_view to a std::ostream.
 
template<int R, typename F >
std::ostream & nda::operator<< (std::ostream &sout, array_adapter< R, F > const &aa)
 Write an nda::array_adapter to a std::ostream.
 
template<char OP, ArrayOrScalar L, ArrayOrScalar R>
std::ostream & nda::operator<< (std::ostream &sout, expr< OP, L, R > const &ex)
 Write an nda::expr to a std::ostream.
 
template<typename F , typename... As>
std::ostream & nda::operator<< (std::ostream &sout, expr_call< F, As... > const &)
 Write an nda::expr_call to a std::ostream.
 
template<char OP, Array A>
std::ostream & nda::operator<< (std::ostream &sout, expr_unary< OP, A > const &ex)
 Write an nda::expr_unary to a std::ostream.
 
template<int Rank, uint64_t StaticExtents, uint64_t StrideOrder, layout_prop_e LayoutProp>
std::ostream & nda::operator<< (std::ostream &sout, idx_map< Rank, StaticExtents, StrideOrder, LayoutProp > const &idxm)
 Write an nda::idx_map to a std::ostream.
 
std::ostream & nda::operator<< (std::ostream &sout, layout_prop_e p)
 Write an nda::layout_prop_e to a std::ostream.