|
rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
|
Describes the operand count of an operation. More...
#include <rexlib/core/operation/operation_arity.hpp>
Public Member Functions | |
| operation_arity () noexcept | |
| Construct an arity with no outputs and no inputs. | |
| operation_arity (std::size_t output_count, std::size_t input_count) noexcept | |
| Construct an arity from its operand counts. | |
| operation_arity (const operation_arity &other)=default | |
| operation_arity (operation_arity &&other) noexcept=default | |
| operation_arity & | operator= (const operation_arity &other)=default |
| operation_arity & | operator= (operation_arity &&other) noexcept=default |
| std::size_t | get_output_count () const noexcept |
| Get the number of output operands. | |
| std::size_t | get_input_count () const noexcept |
| Get the number of input operands. | |
Friends | |
| bool | operator== (const operation_arity &lhs, const operation_arity &rhs) noexcept |
| bool | operator!= (const operation_arity &lhs, const operation_arity &rhs) noexcept |
Describes the operand count of an operation.
|
noexcept |
Construct an arity from its operand counts.
| output_count | The number of output operands. |
| input_count | The number of input operands. |
|
noexcept |
Get the number of input operands.
|
noexcept |
Get the number of output operands.