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

Specialisation of the piranha::math::integrate() 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.integrate(name))
 Call operator. More...
 

Detailed Description

template<typename Series>
struct piranha::math::integrate_impl< Series, detail::series_integrate_enabler< Series > >

Specialisation of the piranha::math::integrate() functor for series types.

This specialisation is activated when Series is an instance of piranha::series with a const integrate() method taking a const std::string as parameter and returning a type which satisfies piranha::is_returnable.

Definition at line 3386 of file series.hpp.

Member Function Documentation

◆ operator()()

template<typename Series >
template<typename T >
auto piranha::math::integrate_impl< Series, detail::series_integrate_enabler< Series > >::operator() ( const T &  s,
const std::string &  name 
) const -> decltype(s.integrate(name))
inline

Call operator.

Parameters
sinput series.
namename of the argument with respect to which the antiderivative will be calculated.
Returns
the antiderivative of s with respect to name.
Exceptions
unspecifiedany exception thrown by the invoked series method.

Definition at line 3397 of file series.hpp.


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