piranha
0.10
|
Specialisation of the implementation of piranha::math::evaluate() for series types. More...
#include <piranha/series.hpp>
Public Member Functions | |
eval_type | operator() (const Series &s, const symbol_fmap< T > &dict) const |
Call operator. More... | |
Specialisation of the implementation of piranha::math::evaluate() for series types.
This specialisation is activated when all the following conditions hold:
Series
is an instance of piranha::series,Series
support evaluation,E
,E
is addable in place, constructible from int
and it satisfies piranha::is_returnable,T
is destructible and copy-constructible. Definition at line 3433 of file series.hpp.
|
inline |
Call operator.
Series evaluation starts with a zero-initialised instance of the return type, which is determined according to the evaluation types of coefficient and key. The return value accumulates the evaluation of all terms in the series via the product of the evaluations of the coefficient-key pairs in each term. The input dictionary dict
specifies with which value each symbolic quantity will be evaluated.
s | the series to be evaluated. |
dict | the dictionary that will be used for evaluation. |
dict
.std::invalid_argument | if a symbol of s does not appear in dict . |
unspecified | any exception thrown by:
|
Definition at line 3469 of file series.hpp.