|
pulsatrix
|
Tensor dimension arithmetic – rank, element count, per-dimension access. More...
#include <cstdint>#include <initializer_list>#include <limits>#include <numeric>#include <stdexcept>#include <vector>#include "pulsatrix/assert.hpp"

Go to the source code of this file.
Classes | |
| class | pulsatrix::Shape |
| An N-dimensional shape. A plain aggregate of dimensions with no invariant beyond "non-negative dimensions" – see oop_design/context_oop_design_fundamentals.md's struct-vs-class discussion for why this is still a class (numel()/is_reshape_compatible() are derived queries, not raw public fields the caller could desync from dims_). More... | |
Namespaces | |
| namespace | pulsatrix |
Tensor dimension arithmetic – rank, element count, per-dimension access.