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