| 
    piranha
    0.10
    
   | 
 
Toolbox for series that support trigonometric substitution. More...
#include <piranha/t_substitutable_series.hpp>
Inherits Series, and piranha::detail::t_substitutable_series_tag.
Public Member Functions | |
| t_substitutable_series ()=default | |
| Defaulted default constructor.  | |
| t_substitutable_series (const t_substitutable_series &)=default | |
| Defaulted copy constructor.  | |
| t_substitutable_series (t_substitutable_series &&)=default | |
| Defaulted move constructor.  | |
| t_substitutable_series & | operator= (const t_substitutable_series &other)=default | 
| Copy assignment operator.  More... | |
| t_substitutable_series & | operator= (t_substitutable_series &&other)=default | 
| Move assignment operator.  More... | |
| ~t_substitutable_series () | |
| Trivial destructor.  | |
| template<typename T , typename U > | |
| t_subs_type< T, U > | t_subs (const std::string &name, const T &c, const U &s) const | 
| Trigonometric substitution.  More... | |
Toolbox for series that support trigonometric substitution.
This toolbox extends a series class with methods to perform trigonometric substitution (i.e., substitution of cosine and sine of a symbolic variable). These methods are enabled only if either the coefficient or the key supports trigonometric substitution, as established by the piranha::has_t_subs and piranha::key_has_t_subs type traits, and if the types involved in the computation of the substitution are constructible from int and support basic arithmetics.
This class satisfies the piranha::is_series type trait.
Series must be an instance of piranha::series,Derived must satisfy the piranha::is_series type trait, and derive from t_substitutable_series of Series and Derived.This class provides the same guarantee as Series.
Move semantics is equivalent to the move semantics of Series. 
Definition at line 79 of file t_substitutable_series.hpp.
      
  | 
  default | 
Copy assignment operator.
| other | the assignment argument. | 
this.| unspecified | any exception thrown by the assignment operator of the base class. | 
      
  | 
  default | 
Move assignment operator.
| other | the assignment argument. | 
this. 
      
  | 
  inline | 
Trigonometric substitution.
Trigonometric substitution is the substitution of the cosine and sine of name for c and s.
| name | name of the symbol that will be subject to substitution. | 
| c | cosine of name.  | 
| s | sine of name. | 
| unspecified | any exception resulting from:
  | 
Definition at line 219 of file t_substitutable_series.hpp.
 1.8.14