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

Specialisation of the piranha::math::pow() functor for piranha::series. More...

#include <piranha/series.hpp>

Public Member Functions

pow_type operator() (const Series &s, const T &x) const
 Call operator. More...
 

Detailed Description

template<typename Series, typename T>
struct piranha::math::pow_impl< Series, T, pow_series_enabler< Series, T > >

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

This specialisation is activated when Series is an instance of piranha::series with a method with the same signature as piranha::series::pow().

Definition at line 2986 of file series.hpp.

Member Function Documentation

◆ operator()()

template<typename Series , typename T >
pow_type piranha::math::pow_impl< Series, T, pow_series_enabler< Series, T > >::operator() ( const Series &  s,
const T &  x 
) const
inline

Call operator.

The exponentiation will be computed via the series' pow() method. The body of this method is equivalent to:

return s.pow(x);
Parameters
sbase.
xexponent.
Returns
s to the power of x.
Exceptions
unspecifiedany exception resulting from the series' pow() method.

Definition at line 3006 of file series.hpp.


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