rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
rexlib::same_extent_transform Struct Reference

Transform mapping an extent onto itself. More...

#include <rexlib/core/operation/shape_rule/same_extent_transform.hpp>

Static Public Member Functions

static std::size_t apply (std::size_t extent) noexcept
 Apply the transform.
 
static const char * get_relation () noexcept
 Get a fragment naming the mapping, for diagnostics.
 

Detailed Description

Transform mapping an extent onto itself.

Models core axes that operands share, such as the inner extent of a matrix multiplication.

See also
extent_slot

Member Function Documentation

◆ apply()

static std::size_t rexlib::same_extent_transform::apply ( std::size_t  extent)
staticnoexcept

Apply the transform.

Parameters
extentThe extent of the variable.
Returns
std::size_t The same extent.

◆ get_relation()

static const char * rexlib::same_extent_transform::get_relation ( )
staticnoexcept

Get a fragment naming the mapping, for diagnostics.

Returns
const char* The fragment.

The documentation for this struct was generated from the following file: