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

The axes an operation acts along. More...

#include <rexlib/ops/parameters/axis_selection.hpp>

Public Member Functions

 axis_selection (axis_list axes) noexcept
 Construct a selection of axes.
 
span< const std::size_t > get_axes () const noexcept
 Get the axes the operation acts along.
 

Detailed Description

The axes an operation acts along.

The axes keep the order they were given in, for an operation that gives the last of them a role of its own. Whether they are admissible is for the shape rule of the operation to decide.

Constructor & Destructor Documentation

◆ axis_selection()

rexlib::ops::axis_selection::axis_selection ( axis_list  axes)
explicitnoexcept

Construct a selection of axes.

Parameters
axesThe axes the operation acts along.

Member Function Documentation

◆ get_axes()

span< const std::size_t > rexlib::ops::axis_selection::get_axes ( ) const
noexcept

Get the axes the operation acts along.

Returns
span<const std::size_t> The axes, in the order given.

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