rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
core_dimensions_descriptor.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include <rexlib/core/operation/shape_rule/extent_domain.hpp>
6#include <rexlib/core/operation/shape_rule/extent_slot_descriptor.hpp>
7
8#include <rexlib/core/span.hpp>
9
10namespace rexlib
11{
12
70
71} // namespace rexlib
72
73#include "core_dimensions_descriptor.inl"
Container for multidimensional numeric data.
Definition array.hpp:31
Type erased form of a core_dimensions.
Definition core_dimensions_descriptor.hpp:19
const extent_domain & get_run_domain() const noexcept
Get the extents every axis of the run may take.
bool has_run() const noexcept
Check whether a run leads the core axes.
span< const extent_slot_descriptor > get_slots() const noexcept
Get the slot of every core axis after the run.
bool is_empty() const noexcept
Check whether the core has no axes: neither a run nor a slot.
core_dimensions_descriptor(span< const extent_slot_descriptor > slots, bool has_run, const extent_domain &run_domain) noexcept
Construct a core dimensions descriptor.
Set of extents an axis may take.
Definition extent_domain.hpp:18
Type erased form of an extent_slot.
Definition extent_slot_descriptor.hpp:18
Represents a non-owning area of contiguous memory.
Definition span.hpp:99
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10