OpenKalman
Classes | Functions
most_fixed_pattern.hpp File Reference
#include "collections/collections.hpp"
#include "coordinates/concepts/compares_with.hpp"
Include dependency graph for most_fixed_pattern.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenKalman::coordinates::internal::detail::MostFixedPattern
 

Functions

template<typename P , std::enable_if_t< values::fixed_value_compares_with< collections::size_of< P >, 0, &stdex::is_gt >, int > = 0>
decltype(auto) constexpr OpenKalman::coordinates::internal::most_fixed_pattern (P &&p)
 Given a fixed-size /ref coordinates::pattern_collection, return the first component, if any, that is a fixed_pattern. More...
 

Function Documentation

◆ most_fixed_pattern()

template<typename P , std::enable_if_t< values::fixed_value_compares_with< collections::size_of< P >, 0, &stdex::is_gt >, int > = 0>
decltype(auto) constexpr OpenKalman::coordinates::internal::most_fixed_pattern ( P &&  p)

Given a fixed-size /ref coordinates::pattern_collection, return the first component, if any, that is a fixed_pattern.

If there are no fixed patterns, returns the last pattern.