OpenKalman
Namespaces | Functions
get_index_extent.hpp File Reference

Definition of get_index_extent function. More...

#include "linear-algebra/traits/count_indices.hpp"
#include "linear-algebra/traits/index_count.hpp"
#include "linear-algebra/traits/get_mdspan.hpp"
Include dependency graph for get_index_extent.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>
constexpr auto OpenKalman::get_index_extent (T &&t, I i=I{})
 Get the runtime dimensions of index N of indexible T.
 
template<std::size_t I, typename T , std::enable_if_t< indexible< T >, int > = 0>
constexpr auto OpenKalman::get_index_extent (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_extent function.