Skip to main content

AxisDescriptor

AxisDescriptor

Describes a single axis of a tensor. More…

#include <DimensionDescriptor.hpp>

Public Functions

Name
bool operator==(AxisDescriptor const & other) const
bool operator!=(AxisDescriptor const & other) const

Public Attributes

Name
std::string name
e.g., “time”, “frequency”, “channel”
std::size_t size
Length along this axis.

Detailed Description

struct AxisDescriptor;

Describes a single axis of a tensor.

Each axis has a human-readable name (e.g., “time”, “channel”, “frequency”) and a fixed size. Axes are identified by string names — no enum taxonomy is imposed. Consumers search by conventional names.

Public Functions Documentation

function operator==

inline bool operator==(
    AxisDescriptor const & other
) const

function operator!=

inline bool operator!=(
    AxisDescriptor const & other
) const

Public Attributes Documentation

variable name

std::string name;

e.g., “time”, “frequency”, “channel”

variable size

std::size_t size;

Length along this axis.


Updated on 2026-11-13 at 20:25:39 +0000