Template Function make_t8_vec_view

Function Documentation

template<std::size_t TDim, typename TType = double>
constexpr auto make_t8_vec_view(TType *ptr) noexcept

Convenience function to create a vector view from a raw array.

Template Parameters:
  • TDim – The dimension of the array.

  • TType – The type (const and so on)

Parameters:

ptr[in] The pointer to the array.

Returns:

The view.