10#ifndef XTENSOR_LAYOUT_HPP
11#define XTENSOR_LAYOUT_HPP
18#include "xtensor_config.hpp"
51 template <
class... Args>
64 constexpr layout_type compute_layout_impl() noexcept
76 using type = std::underlying_type_t<layout_type>;
77 return layout_type(
static_cast<type
>(lhs) &
static_cast<type
>(rhs));
80 template <
class... Args>
83 return compute_layout_impl(lhs, compute_layout_impl(args...));
87 template <
class... Args>
90 return detail::compute_layout_impl(
args...);
standard mathematical functions for xexpressions
constexpr layout_type compute_layout(Args... args) noexcept
Implementation of the following logical table: