piranha  0.10
Public Member Functions | List of all members
piranha::math::t_subs_impl< Series, U, V, detail::t_subs_impl_t_subs_series_enabler< Series, U, V > > Struct Template Reference

Specialisation of the piranha::math::t_subs() functor for instances of piranha::t_substitutable_series. More...

#include <piranha/t_substitutable_series.hpp>

Public Member Functions

auto operator() (const Series &series, const std::string &name, const U &c, const V &s) const -> decltype(series.t_subs(name, c, s))
 Call operator. More...
 

Detailed Description

template<typename Series, typename U, typename V>
struct piranha::math::t_subs_impl< Series, U, V, detail::t_subs_impl_t_subs_series_enabler< Series, U, V > >

Specialisation of the piranha::math::t_subs() functor for instances of piranha::t_substitutable_series.

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

Definition at line 250 of file t_substitutable_series.hpp.

Member Function Documentation

◆ operator()()

template<typename Series , typename U , typename V >
auto piranha::math::t_subs_impl< Series, U, V, detail::t_subs_impl_t_subs_series_enabler< Series, U, V > >::operator() ( const Series &  series,
const std::string &  name,
const U &  c,
const V &  s 
) const -> decltype(series.t_subs(name, c, s))
inline

Call operator.

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

Parameters
seriesargument for the substitution.
namename of the symbol that will be subject to substitution.
ccosine of name.
ssine of name.
Returns
the result of the substitution.
Exceptions
unspecifiedany exception thrown by the series' substitution method.

Definition at line 264 of file t_substitutable_series.hpp.


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