|
rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
|
Fill an array with a constant value. More...
#include <rexlib/ops/assignment/fill_operation.hpp>
Public Member Functions | |
| fill_operation (const scalar_value &fill_value) noexcept | |
| Construct a fill operation by the value used to fill. | |
| const scalar_value & | get_fill_value () const noexcept |
| Get the fill value. | |
Public Member Functions inherited from rexlib::trivial_operation< fill_operation, fill_operation_traits > | |
| const operation_signature & | get_signature () const noexcept override |
| Get the signature deciding the shape and data type of the operands of this operation. | |
Public Member Functions inherited from rexlib::basic_operation< Derived, Traits > | |
| const operation_descriptor & | get_descriptor () const noexcept override |
| Get the description of this operation. | |
| operation_id | get_id () const noexcept override |
Get the identifier of Derived. | |
Public Member Functions inherited from rexlib::operation | |
| operation (const operation &other)=delete | |
| operation (operation &&other)=delete | |
| operation & | operator= (const operation &other)=delete |
| operation & | operator= (operation &&other)=delete |
Additional Inherited Members | |
Public Types inherited from rexlib::basic_operation< Derived, Traits > | |
| using | traits_type = Traits |
| using | shape_rule_type = typename Traits::shape_rule_type |
| using | type_rule_type = typename Traits::type_rule_type |
Static Public Member Functions inherited from rexlib::basic_operation< Derived, Traits > | |
| static const operation_descriptor & | get_static_descriptor () noexcept |
| Get the description shared by every instance. | |
Static Public Attributes inherited from rexlib::basic_operation< Derived, Traits > | |
| static REXLIB_CONST_CONSTEXPR std::size_t | output_operand_count |
| static REXLIB_CONST_CONSTEXPR std::size_t | input_operand_count |
Fill an array with a constant value.
With no input to fix it, the element type is the one the destination already carries.
|
explicitnoexcept |
Construct a fill operation by the value used to fill.
| fill_value | Value used for filling. |
|
noexcept |
Get the fill value.