Skip to main content

inline size_t get_linear_index(
    const range<1>& range,
    const id<1>& index)

Parameters

const range<1>& range
const id<1>& index

inline size_t get_linear_index(const range<0>&,
                               const id<0>&)

Parameters

const range<0>&
const id<0>&

inline size_t get_linear_index(
    const range<3>& range,
    const id<3>& index)

Parameters

const range<3>& range
const id<3>& index

inline size_t get_linear_index(
    const range<2>& range,
    const id<2>& index)

Parameters

const range<2>& range
const id<2>& index