piranha  0.10
Public Member Functions | List of all members
piranha::math::subs_impl< Series, T, detail::subs_impl_subs_series_enabler< Series, T > > Struct Template Reference

Specialisation of the piranha::math::subs_impl functor for instances of piranha::substitutable_series. More...

#include <piranha/substitutable_series.hpp>

Public Member Functions

auto operator() (const Series &s, const symbol_fmap< T > &dict) const -> decltype(s.subs(dict))
 Call operator. More...
 

Detailed Description

template<typename Series, typename T>
struct piranha::math::subs_impl< Series, T, detail::subs_impl_subs_series_enabler< Series, T > >

Specialisation of the piranha::math::subs_impl functor for instances of piranha::substitutable_series.

This specialisation is activated if Series is an instance of piranha::substitutable_series which supports the substitution method, returning a type which satisfies piranha::is_returnable.

Definition at line 248 of file substitutable_series.hpp.

Member Function Documentation

◆ operator()()

template<typename Series , typename T >
auto piranha::math::subs_impl< Series, T, detail::subs_impl_subs_series_enabler< Series, T > >::operator() ( const Series &  s,
const symbol_fmap< T > &  dict 
) const -> decltype(s.subs(dict))
inline

Call operator.

The call operator is equivalent to calling the substitution method on s.

Parameters
sthe target series.
dictthe substitution dictionary.
Returns
the result of the substitution.
Exceptions
unspecifiedany exception thrown by the series' substitution method.

Definition at line 260 of file substitutable_series.hpp.


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