OpenKalman
Namespaces | Functions
get_index_pattern.hpp File Reference

Definition of get_index_pattern function. More...

#include "coordinates/coordinates.hpp"
#include "linear-algebra/interfaces/interfaces-defined.hpp"
#include "linear-algebra/traits/count_indices.hpp"
#include "linear-algebra/traits/index_count.hpp"
#include "linear-algebra/traits/get_mdspan.hpp"
#include "linear-algebra/traits/get_pattern_collection.hpp"
Include dependency graph for get_index_pattern.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 OpenKalman
 The root namespace for OpenKalman.
 

Functions

template<typename T , typename I = std::integral_constant<std::size_t, 0>, std::enable_if_t< indexible< T > and values::index< I >, int > = 0>
decltype(auto) constexpr OpenKalman::get_index_pattern (T &&t, I i={})
 Get the coordinates::pattern associated with indexible object T at a given index. More...
 
template<std::size_t i, typename T , std::enable_if_t< indexible< T >, int > = 0>
constexpr auto OpenKalman::get_index_pattern (T &&t)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 

Detailed Description

Definition of get_index_pattern function.