|
Stratax 0.2.0
|
Functions | |
| template<typename T> | |
| void | print_tensor_recursive (std::ostream &os, const Tensor< T > &tensor, std::size_t dim, std::size_t offset, std::size_t depth, const char *sibling_separator) |
| Recursively prints a tensor using nested bracket notation. | |
| template<typename T> | |
| std::ostream & | print_tensor_like (std::ostream &os, const Tensor< T > &tensor) |
| template<typename T> | |
| std::ostream & | print_matrix_like (std::ostream &os, const Tensor< T > &tensor) |
| std::ostream & stratax::container::detail::print_matrix_like | ( | std::ostream & | os, |
| const Tensor< T > & | tensor ) |
| std::ostream & stratax::container::detail::print_tensor_like | ( | std::ostream & | os, |
| const Tensor< T > & | tensor ) |
| 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, | ||
| const char * | sibling_separator ) |
Recursively prints a tensor using nested bracket notation.
| os | Output stream. |
| tensor | Tensor to print. |
| dim | Current dimension being printed. |
| offset | Flat storage offset for the current sub-tensor. |
| depth | Nesting depth used for indentation. |
| sibling_separator | Separator string inserted between sibling elements. |