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

Specialisation of the piranha::math::ipow_subs_impl functor for instances of piranha::ipow_substitutable_series. More...

#include <piranha/ipow_substitutable_series.hpp>

Public Member Functions

auto operator() (const Series &s, const std::string &name, const integer &n, const T &x) const -> decltype(s.ipow_subs(name, n, x))
 Call operator. More...
 

Detailed Description

template<typename Series, typename T>
struct piranha::math::ipow_subs_impl< Series, T, ipow_subs_impl_ipow_subs_series_enabler< Series, T > >

Specialisation of the piranha::math::ipow_subs_impl functor for instances of piranha::ipow_substitutable_series.

This specialisation is activated if Series is an instance of piranha::ipow_substitutable_series which supports the substitution methods.

Definition at line 281 of file ipow_substitutable_series.hpp.

Member Function Documentation

◆ operator()()

template<typename Series , typename T >
auto piranha::math::ipow_subs_impl< Series, T, ipow_subs_impl_ipow_subs_series_enabler< Series, T > >::operator() ( const Series &  s,
const std::string &  name,
const integer n,
const T &  x 
) const -> decltype(s.ipow_subs(name, n, x))
inline

Call operator.

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

Parameters
starget series.
namename of the symbol to be substituted.
nintegral power of the symbol to be substituted.
xobject used for substitution.
Returns
the result of the substitution.
Exceptions
unspecifiedany exception thrown by the series' substitution method.

Definition at line 295 of file ipow_substitutable_series.hpp.


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