piranha  0.10
Public Member Functions | List of all members
piranha::print_coefficient_impl< Series, typename std::enable_if< is_series< Series >::value >::type > Struct Template Reference

Specialisation of piranha::print_coefficient_impl for series. More...

#include <piranha/series.hpp>

Public Member Functions

void operator() (std::ostream &os, const Series &s) const
 Call operator. More...
 

Detailed Description

template<typename Series>
struct piranha::print_coefficient_impl< Series, typename std::enable_if< is_series< Series >::value >::type >

Specialisation of piranha::print_coefficient_impl for series.

This specialisation is enabled if Series is an instance of piranha::series.

Definition at line 2872 of file series.hpp.

Member Function Documentation

◆ operator()()

template<typename Series >
void piranha::print_coefficient_impl< Series, typename std::enable_if< is_series< Series >::value >::type >::operator() ( std::ostream &  os,
const Series &  s 
) const
inline

Call operator.

Equivalent to the stream operator overload of piranha::series, apart from a couple of parentheses '()' enclosing the coefficient series if its size is larger than 1.

Parameters
ostarget stream.
scoefficient series to be printed.
Exceptions
unspecifiedany exception thrown by the stream operator overload of piranha::series.

Definition at line 2883 of file series.hpp.


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