smooth
A C++ library for Lie theory
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
detail::BoostOdeintOps::scale_sum< Fac > Struct Template Reference

Variadic scale_sum implementation. More...

#include <odeint.hpp>

Public Types

using result_type = void
 Required typedef.
 

Public Member Functions

 scale_sum (Fac... alpha) noexcept
 Constructor for scale sum.
 
template<typename... Ts, std::size_t... Is>
auto helper (std::index_sequence< Is... >, const Ts &... as) noexcept
 Helper for scaled addition operation.
 
template<Manifold T1, Manifold T2, typename... Ts>
requires (std::is_same_v<T1, T2> && std::conjunction_v<std::is_same<Tangent<T1>, Ts>...>)
void operator() (T1 &y, const T2 &x, const Ts &... as) noexcept
 Scaled addition operation.
 

Public Attributes

const std::tuple< Fac... > m_alpha
 Storage for scale sum weights.
 

Detailed Description

template<typename... Fac>
struct detail::BoostOdeintOps::scale_sum< Fac >

Variadic scale_sum implementation.

Definition at line 43 of file odeint.hpp.

Member Typedef Documentation

◆ result_type

template<typename... Fac>
using detail::BoostOdeintOps::scale_sum< Fac >::result_type = void

Required typedef.

Definition at line 68 of file odeint.hpp.

Constructor & Destructor Documentation

◆ scale_sum()

template<typename... Fac>
detail::BoostOdeintOps::scale_sum< Fac >::scale_sum ( Fac...  alpha)
inlineexplicitnoexcept

Constructor for scale sum.

Definition at line 49 of file odeint.hpp.

Member Function Documentation

◆ helper()

template<typename... Fac>
template<typename... Ts, std::size_t... Is>
auto detail::BoostOdeintOps::scale_sum< Fac >::helper ( std::index_sequence< Is... >  ,
const Ts &...  as 
)
inlinenoexcept

Helper for scaled addition operation.

Definition at line 53 of file odeint.hpp.

◆ operator()()

template<typename... Fac>
template<Manifold T1, Manifold T2, typename... Ts>
requires (std::is_same_v<T1, T2> && std::conjunction_v<std::is_same<Tangent<T1>, Ts>...>)
void detail::BoostOdeintOps::scale_sum< Fac >::operator() ( T1 &  y,
const T2 &  x,
const Ts &...  as 
)
inlinenoexcept

Scaled addition operation.

Definition at line 62 of file odeint.hpp.

Member Data Documentation

◆ m_alpha

template<typename... Fac>
const std::tuple<Fac...> detail::BoostOdeintOps::scale_sum< Fac >::m_alpha

Storage for scale sum weights.

Definition at line 46 of file odeint.hpp.


The documentation for this struct was generated from the following file: