OpenKalman
Typedefs | Functions
make_fixed_square_adapter_like.hpp File Reference
#include "linear-algebra/coordinates/concepts/pattern.hpp"
#include "linear-algebra/coordinates/concepts/compares_with.hpp"
#include "linear-algebra/coordinates/descriptors/Dimensions.hpp"
Include dependency graph for make_fixed_square_adapter_like.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

template<typename... Ts>
using OpenKalman::internal::detail::best_desc = std::decay_t< decltype(best_vector_space_descriptor(std::declval< Ts >()...))>
 

Functions

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...
 

Function Documentation

◆ 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
DsOptional vector space descriptors possibly reflecting the square dimension
Returns
(1) A fixed size adapter or (2) a reference to the argument unchanged.