rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
same_extent_transform.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include <cstddef>
6
7namespace rexlib
8{
9
19{
26 static std::size_t apply(std::size_t extent) noexcept;
27
33 static const char* get_relation() noexcept;
34};
35
36} // namespace rexlib
37
38#include "same_extent_transform.inl"
Container for multidimensional numeric data.
Definition array.hpp:31
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
Transform mapping an extent onto itself.
Definition same_extent_transform.hpp:19
static const char * get_relation() noexcept
Get a fragment naming the mapping, for diagnostics.
static std::size_t apply(std::size_t extent) noexcept
Apply the transform.