piranha
0.10
|
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... | |
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.
|
inline |
Call operator.
The call operator is equivalent to calling the substitution method on s
.
series | argument for the substitution. |
name | name of the symbol that will be subject to substitution. |
c | cosine of name . |
s | sine of name . |
unspecified | any exception thrown by the series' substitution method. |
Definition at line 264 of file t_substitutable_series.hpp.