struct slice
Declaration
template <int Dims>
struct slice { /* full declaration omitted */ };
Template Parameters
- int Dims
Member Variables
- size_t m_dim_idx
Member Function Overview
- operator()(const chunk<Dims> & chnk, const range<Dims> & buffer_size) const → subrange<Dims>
- slice(size_t dim_idx) → explicit
Member Functions
¶subrange<Dims> operator()(
const chunk<Dims>& chnk,
const range<Dims>& buffer_size) const
subrange<Dims> operator()(
const chunk<Dims>& chnk,
const range<Dims>& buffer_size) const
Parameters
- const chunk<Dims>& chnk
- const range<Dims>& buffer_size
¶explicit slice(size_t dim_idx)
explicit slice(size_t dim_idx)
Parameters
- size_t dim_idx