rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
type_slot.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include <rexlib/core/operation/type_rule/complex_type_transform.hpp>
6#include <rexlib/core/operation/type_rule/fixed_type_transform.hpp>
7#include <rexlib/core/operation/type_rule/inexact_type_transform.hpp>
8#include <rexlib/core/operation/type_rule/real_type_transform.hpp>
9#include <rexlib/core/operation/type_rule/same_type_transform.hpp>
10
11#include <rexlib/core/numerical/numerical_type.hpp>
12#include <rexlib/core/platform/constexpr.hpp>
13
14#include <cstddef>
15
16namespace rexlib
17{
18
31template <std::size_t PivotIndex, typename Transform = same_type_transform>
33{
34 static REXLIB_CONST_CONSTEXPR std::size_t pivot_index = PivotIndex;
35
37};
38
44template <std::size_t I = 0>
46
52template <std::size_t I = 0>
54
60template <std::size_t I = 0>
62
68template <std::size_t I = 0>
70
78template <numerical_type Type, std::size_t I = 0>
80
81} // namespace rexlib
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
Binding of one operand to a pivot through a transform.
Definition type_slot.hpp:33