OpenKalman
|
Definition for reduce function. More...
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<std::size_t index_to_delete, std::size_t... new_indices> | |
constexpr auto | OpenKalman::detail::delete_reduction_index (std::index_sequence<>) |
template<std::size_t index_to_delete, std::size_t... new_indices, std::size_t index, std::size_t... indices> | |
constexpr auto | OpenKalman::detail::delete_reduction_index (std::index_sequence< index, indices... >) |
template<typename BinaryOperation , typename Constant , typename Dim > | |
constexpr auto | OpenKalman::detail::constant_reduce_operation (const BinaryOperation &op, const Constant &c, const Dim &dim) |
template<typename BinaryFunction , typename Arg , std::size_t... indices, std::size_t... Ix> | |
decltype(auto) constexpr | OpenKalman::detail::reduce_impl (BinaryFunction &&b, Arg &&arg, std::index_sequence< indices... > indices_seq, std::index_sequence< Ix... > seq) |
template<std::size_t index, std::size_t... indices, typename BinaryFunction , typename Arg , std::enable_if_t< internal::has_uniform_static_vector_space_descriptors< Arg, index, indices... > and std::is_invocable_r< typename scalar_type_of< Arg >::type, BinaryFunction &&, typename scalar_type_of< Arg >::type, typename scalar_type_of< Arg >::type >::value, int > = 0> | |
decltype(auto) constexpr | OpenKalman::reduce (BinaryFunction &&b, Arg &&arg) |
Perform a partial reduction based on an associative binary function, across one or more indices. More... | |
template<typename BinaryFunction , typename Arg , std::enable_if_t< internal::has_uniform_static_vector_space_descriptors< Arg > and std::is_invocable_r< typename scalar_type_of< Arg >::type, BinaryFunction &&, typename scalar_type_of< Arg >::type, typename scalar_type_of< Arg >::type >::value, int > = 0> | |
constexpr scalar_type_of_t< Arg > | OpenKalman::reduce (const BinaryFunction &b, const Arg &arg) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
Definition for reduce function.