OpenKalman
Functions
make_fixed_size_adapter.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename DTup , typename Arg , std::size_t... Ix>
decltype(auto) constexpr OpenKalman::internal::detail::make_fixed_size_adapter_impl (Arg &&arg, std::index_sequence< Ix... > seq)
 
template<typename Descriptors , typename Arg , std::enable_if_t< pattern_tuple< Descriptors > and compatible_with_vector_space_descriptor_collection< Arg, Descriptors >, int > = 0>
decltype(auto) constexpr OpenKalman::internal::make_fixed_size_adapter (Arg &&arg)
 Make the best possible FixedSizeAdapter, if applicable, based on a set of vector space descriptors. More...
 
template<typename Arg , typename Descriptors , std::enable_if_t< indexible< Arg > and pattern_tuple< Descriptors > and compatible_with_vector_space_descriptor_collection< Arg, Descriptors >, int > = 0>
decltype(auto) constexpr OpenKalman::internal::make_fixed_size_adapter (Arg &&arg, Descriptors &&)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 

Function Documentation

◆ make_fixed_size_adapter()

template<typename Descriptors , typename Arg , std::enable_if_t< pattern_tuple< Descriptors > and compatible_with_vector_space_descriptor_collection< Arg, Descriptors >, int > = 0>
decltype(auto) constexpr OpenKalman::internal::make_fixed_size_adapter ( Arg &&  arg)

Make the best possible FixedSizeAdapter, if applicable, based on a set of vector space descriptors.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

The function will only return an adapter if at least one of the specified vector space descriptors is more fixed than the corresponding descriptor of the argument.

Template Parameters
DescriptorsA pattern_tuple reflecting the new object
Returns
(1) A fixed size adapter if some dimension becomes more fixed, or (2) a reference to the argument unchanged.