rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
extent_slot_descriptor.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include <rexlib/core/operation/shape_rule/extent_transform.hpp>
6
7#include <cstddef>
8
9namespace rexlib
10{
11
18{
19public:
28 std::size_t pivot_index,
30 ) noexcept;
31
38
45
47 std::size_t m_pivot_index;
48 extent_transform m_transform;
49};
50
51} // namespace rexlib
52
53#include "extent_slot_descriptor.inl"
Container for multidimensional numeric data.
Definition array.hpp:31
Type erased form of an extent_slot.
Definition extent_slot_descriptor.hpp:18
const extent_transform & get_transform() const noexcept
Get the transform applied to the extent of the variable.
std::size_t get_pivot_index() const noexcept
Get the index of the extent variable the axis derives from.
extent_slot_descriptor(std::size_t pivot_index, const extent_transform &transform) noexcept
Construct a slot descriptor.
Type erased form of an extent transform.
Definition extent_transform.hpp:19
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10