Skip to content

Function indices

function indices(const shape<Dims> &, axis_params<VecAxis, N>) base

template <index_t Axis, index_t Dims, index_t VecAxis, size_t N>
inline vec<index_t, N> indices(const shape<Dims>& index, axis_params<VecAxis, N>)

Computes the vector of indices along an axis for a vectorized read.

Parameters
index Multi-dimensional base index.
Template parameters
Axis Axis being read.
Dims Number of dimensions of index.
VecAxis Axis along which the read is vectorized.
N Vector width.
Returns
Vector of indices for the requested axis.

Fully qualified name: kfr::indices(const shape<Dims> &, axis_params<VecAxis, N>)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.