|
Stratax 0.4.0rc1
|
Immutable dimension metadata and checked row-major strides. More...
#include <algorithm>#include <cstddef>#include <initializer_list>#include <ostream>#include <vector>#include <limits>#include <stratax/core/Buffer.hpp>#include <stratax/exceptions/Exceptions.hpp>#include <stratax/indexing/Normalize.hpp>

Go to the source code of this file.
Classes | |
| class | stratax::core::Shape |
| Stores the dimensions of a multidimensional array. More... | |
Functions | |
| std::ostream & | stratax::core::operator<< (std::ostream &os, const Shape &shape) |
| Writes a shape using tuple notation. | |
Immutable dimension metadata and checked row-major strides.
Definition in file Shape.hpp.
|
inline |
Writes a shape using tuple notation.
A one-dimensional shape includes a trailing comma, such as (5,), and an empty shape is written as ().
| os | Output stream receiving the representation. |
| shape | Shape to write. |
os.