1 #ifndef CLASSIC_Taylor_HH
2 #define CLASSIC_Taylor_HH
55 inline const T *
begin()
const;
63 inline const T *
end()
const;
148 std::ostream &operator<<(std::ostream &, const Taylor<T> &);
152 #endif // CLASSIC_Taylor_HH
Taylor & operator-=(const Taylor &)
Subtract series and assign.
Taylor operator-() const
Change sign of series.
Matrix< T > operator-(const Matrix< T > &, const Matrix< T > &)
Matrix subtraction.
T & operator[](int n)
Get coefficient.
Matrix< T > operator*(const Matrix< T > &, const Matrix< T > &)
Matrix multiply.
A representation for a Taylor series in one variable,.
void clear()
Clear all coefficients.
Taylor & operator/=(const T &)
Divide by scalar and assign.
Taylor integrate() const
Integrate with respect to the variable.
T * end()
Get pointer to end of series (one beyond highest term).
Matrix< T > operator+(const Matrix< T > &, const Matrix< T > &)
Matrix addition.
int getOrder() const
Return order of this series.
Taylor & operator+=(const Taylor &)
Add series and assign.
Taylor & operator*=(const T &)
Multiply by scalar and assign.
FLieGenerator< T, N > PoissonBracket(const FLieGenerator< T, N > &, const FLieGenerator< T, N > &)
Poisson bracket of two Lie generators.
const Taylor & operator=(const Taylor &)
T sum() const
Return sum of series.
Matrix< T > operator/(const Matrix< T > &, const T &)
Matrix divided by scalar.
T * begin()
Get pointer to beginning of series (zero-order term).