OpenKalman
Namespaces | Functions
set_component.hpp File Reference

Definition for set_component function. More...

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 Arg , typename Indices >
constexpr Arg && OpenKalman::detail::set_component_impl (Arg &&arg, const scalar_type_of_t< Arg > &s, const Indices &indices)
 
template<typename Arg , typename Indices , std::enable_if_t< indexible< Arg > and index_range_for< Indices, Arg > and writable_by_component< Arg, Indices >, int > = 0>
Arg && OpenKalman::set_component (Arg &&arg, const scalar_type_of_t< Arg > &s, const Indices &indices)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
template<typename Arg , typename Ix , std::enable_if_t< indexible< Arg > and values::index< Ix > and writable_by_component< Arg, const std::initializer_list< Ix > &>, int > = 0>
Arg && OpenKalman::set_component (Arg &&arg, const scalar_type_of_t< Arg > &s, const std::initializer_list< Ix > &indices)
 Set a component of an object at an initializer list of indices.
 
template<typename Arg , typename... I, std::enable_if_t<(values::index< I > and ...) and writable_by_component< Arg, std::array< std::size_t, sizeof...(I)>> and(index_count< Arg >::value==dynamic_size or sizeof...(I) > = index_count<Arg>::value>
Arg && OpenKalman::set_component (Arg &&arg, const scalar_type_of_t< Arg > &s, 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 set_component function.