Skip to content

strata::Leaf

Part of Views and expressions.

template <std::array Axes, std::array Steps, bool Writes = false>
struct strata::Leaf;

The memory of one leaf, as the axes of the expression above it see it.

Template parameters

Name Description
Axes The axes in the order the memory is best walked in, the fastest first; those it does not move along, last.
Steps What the leaf does along each axis, indexed by the axis and not by its place in Axes.
Writes Whether the leaf is written and not read.

Members

rank

static constexpr std::size_t rank() noexcept

The number of axes.