Go to the source code of this file.
|
template<typename... Ts> |
using | OpenKalman::internal::detail::best_desc = std::decay_t< decltype(best_vector_space_descriptor(std::declval< Ts >()...))> |
|
|
template<typename... Ds, typename Arg , std::size_t... Ix> |
decltype(auto) constexpr | OpenKalman::internal::detail::make_fixed_square_adapter_like_impl (Arg &&arg, std::index_sequence< Ix... >) |
|
template<typename... Ds, typename Arg , std::enable_if_t<(... and coordinates::pattern< Ds >) and square_shaped< Arg, Applicability::permitted > and(index_count_v< Arg > !=dynamic_size) and(... and coordinates::compares_with< D, Ds, equal_to<>, Applicability::permitted >), int > = 0> |
decltype(auto) constexpr | OpenKalman::internal::make_fixed_square_adapter_like (Arg &&arg) |
| Make the best possible square_shaped, if applicable, derived from the sizes of an object and other info. More...
|
|
◆ make_fixed_square_adapter_like()
template<typename... Ds, typename Arg , std::enable_if_t<(... and coordinates::pattern< Ds >) and square_shaped< Arg, Applicability::permitted > and(index_count_v< Arg > !=dynamic_size) and(... and coordinates::compares_with< D, Ds, equal_to<>, Applicability::permitted >), int > = 0>
decltype(auto) constexpr OpenKalman::internal::make_fixed_square_adapter_like |
( |
Arg && |
arg | ) |
|
Make the best possible square_shaped, if applicable, derived from the sizes of an object and other info.
- Template Parameters
-
Ds | Optional vector space descriptors possibly reflecting the square dimension |
- Returns
- (1) A fixed size adapter or (2) a reference to the argument unchanged.