xtensor
 
Loading...
Searching...
No Matches
xt::index_mapper< UndefinedView > Class Template Reference

A helper class for mapping indices between views and their underlying containers. More...

#include <index_mapper.hpp>

Detailed Description

template<class UndefinedView>
class xt::index_mapper< UndefinedView >

A helper class for mapping indices between views and their underlying containers.

The index_mapper class provides functionality to convert indices from a view's coordinate system to the corresponding indices in the underlying container. This is particularly useful for views that contain integral slices (fixed indices), as these slices reduce the dimensionality of the view.

Template Parameters
UndefinedViewThe primary template parameter, specialized for xt::xview types.
Note
This class is specialized for xt::xview<UnderlyingContainer, Slices...> types only. Other view types will trigger a compilation error.

Definition at line 19 of file index_mapper.hpp.


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