The Vish Visualization Shell 0.3
Vish
Eagle::Vector< T, n >::subvector< size, offset > Struct Template Reference

Access part of the vector as a vector of smaller size. More...

#include <elementary/eagle/Vector.hpp>

Detailed Description

template<class T, dimension_t n>
template<dimension_t size, int offset = 0>
struct Eagle::Vector< T, n >::subvector< size, offset >

Access part of the vector as a vector of smaller size.

constexpr T & get(int i)
Definition FixedArray.hpp:650
constexpr Vector()
Default constructor.
Definition Vector.hpp:159

additionally one can also specify some offset:

Note that the subvector is also writeable and modifies the respective components of the full vector. As a natural consequence, the retrieved subvector is not necessarily aligned as the full vector. Thus, SIMD vectorized instructions are unlikely to work on subvectors that do not start on alignenment borders. Default subvectors are thus not vectorized.