pulsatrix
Loading...
Searching...
No Matches
shape.hpp File Reference

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"
Include dependency graph for shape.hpp:
This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

Tensor dimension arithmetic – rank, element count, per-dimension access.