OpenKalman
Namespaces | Functions
access_at.hpp File Reference

Definition for access_at function. More...

#include "collections/collections.hpp"
#include "linear-algebra/concepts/dimension_size_of_index_is.hpp"
#include "linear-algebra/concepts/index_collection_for.hpp"
#include "../interfaces/library_interface.hpp"
#include "linear-algebra/concepts/empty_object.hpp"
#include "linear-algebra/traits/index_dimension_of.hpp"
Include dependency graph for access_at.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 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_at (Arg &&arg, const Indices &indices)
 Access a component of an indexible object at a given set of indices, with bounds checking. 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_at (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_at function.