OpenKalman
Namespaces | Functions
access.hpp File Reference

Definition for access function. More...

#include "collections/collections.hpp"
#include "linear-algebra/traits/index_count.hpp"
#include "linear-algebra/concepts/index_collection_for.hpp"
#include "linear-algebra/concepts/empty_object.hpp"
Include dependency graph for access.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.
 
 OpenKalman::detail
 T is an acceptable noise perturbation input to a tests.
 

Functions

template<typename Indices , std::size_t... i>
decltype(auto) constexpr OpenKalman::detail::make_index_array (const Indices &indices, std::index_sequence< i... >)
 
template<std::size_t i, typename Indices >
constexpr std::size_t OpenKalman::detail::get_index (const Indices &indices, std::size_t s)
 
template<typename Indices , std::size_t... i>
decltype(auto) constexpr OpenKalman::detail::make_index_array_padded (const Indices &indices, std::size_t s, std::index_sequence< i... >)
 
template<typename Arg , typename Indices , std::enable_if_t< index_collection_for< Indices, Arg > and(not empty_object< Arg >) and(not values::size_compares_with< collections::size_of< Indices >, index_count< Arg >, &stdex::is_lt >), int > = 0>
decltype(auto) constexpr OpenKalman::access (Arg &&arg, const Indices &indices)
 Access a component of an indexible object at a given set of indices. More...
 
template<typename Arg , typename... I, std::enable_if_t< indexible< Arg > and(... and values::index< I >) and(not empty_object< Arg >) and(not values::size_compares_with< std::integral_constant< std::size_t, sizeof...(I)>, index_count< Arg >, &stdex::is_lt >), int > = 0>
decltype(auto) constexpr OpenKalman::access (Arg &&arg, I...i)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 

Detailed Description

Definition for access function.