piranha
0.10
|
Specialisation of the piranha::math::partial() functor for series types. More...
#include <piranha/series.hpp>
Public Member Functions | |
template<typename T > | |
auto | operator() (const T &s, const std::string &name) const -> decltype(s.partial(name)) |
Call operator. More... | |
Specialisation of the piranha::math::partial() functor for series types.
This specialisation is activated when Series
is an instance of piranha::series with a const partial()
method method taking a const std::string
as parameter and returning a type which satisfies piranha::is_returnable.
Definition at line 3340 of file series.hpp.
|
inline |
Call operator.
The call operator will first check whether a custom partial derivative for Series
was registered via piranha::series::register_custom_derivative(). In such a case, the custom derivative function will be used to compute the return value. Otherwise, the output of piranha::series::partial() will be returned.
s | input series. |
name | name of the argument with respect to which the differentiation will be calculated. |
s
with respect to name
.unspecified | any exception thrown by:
|
Definition at line 3359 of file series.hpp.