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_rule_operand_types.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include <rexlib/core/meta/type_list.hpp>
6
7#include <cstddef>
8
9namespace rexlib
10{
11
24template <typename Slots, typename Pivots>
26
27template <typename... Slots, typename... Pivots>
29{
30 using type = type_list<
31 typename Slots::transform_type::template apply_type<
32 typename type_list_element<
33 Slots::pivot_index,
35 >::type
36 >::type...
37 >;
38};
39
46template <typename Slots, typename Pivots>
49
50} // 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
typename type_rule_operand_types< Slots, Pivots >::type type_rule_operand_types_t
Convenience alias for type_rule_operand_types<Slots, Pivots>::type.
Definition type_rule_operand_types.hpp:48
Utility class to index a type on a type_list.
Definition type_list.hpp:42
Helper class to pass a heterogeneous sequence of types to a function.
Definition type_list.hpp:20
Apply the transform of every slot to the type of its pivot.
Definition type_rule_operand_types.hpp:25