Stratax
Scientific computing containers and operations
Loading...
Searching...
No Matches
Print.hpp File Reference
#include <iterator>
#include <ostream>
#include <string>
#include <stratax/containers/Matrix.hpp>
#include <stratax/containers/Tensor.hpp>
#include <stratax/containers/Vector.hpp>
#include <stratax/core/Shape.hpp>

Go to the source code of this file.

Namespaces

namespace  stratax
namespace  stratax::container
namespace  stratax::container::detail

Functions

template<typename T>
void stratax::container::detail::print_tensor_recursive (std::ostream &os, const Tensor< T > &tensor, std::size_t dim, std::size_t offset, std::size_t depth)
 Recursively prints a tensor using nested bracket notation.
template<typename T>
std::ostream & stratax::container::operator<< (std::ostream &os, const Vector< T > &vector)
 Writes a vector in compact bracketed list form.
template<typename T>
std::ostream & stratax::container::operator<< (std::ostream &os, const Matrix< T > &matrix)
 Writes a matrix in a human-readable row-major layout.
template<typename T>
std::ostream & stratax::container::operator<< (std::ostream &os, const Tensor< T > &tensor)
 Writes a tensor in nested bracket notation.