rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
trivial_operation.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include <rexlib/core/operation/basic_operation.hpp>
6#include <rexlib/core/operation/operation_signature.hpp>
7#include <rexlib/core/operation/shared_rule_signature.hpp>
8
9namespace rexlib
10{
11
31template <typename Derived, typename Traits>
33 : public basic_operation<Derived, Traits>
34{
35public:
36 using typename basic_operation<Derived, Traits>::shape_rule_type;
37 using typename basic_operation<Derived, Traits>::type_rule_type;
38
40};
41
42} // namespace rexlib
43
44#include "trivial_operation.inl"
Container for multidimensional numeric data.
Definition array.hpp:31
CRTP base supplying the static description of an operation.
Definition basic_operation.hpp:49
Interface deciding the shape and data type of the operands of an operation.
Definition operation_signature.hpp:31
CRTP base for operations that are trivially declared.
Definition trivial_operation.hpp:34
const operation_signature & get_signature() const noexcept override
Get the signature deciding the shape and data type of the operands of this operation.
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10