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
Matrix< T > operator+(const Matrix< T > &, const Matrix< T > &)
Matrix addition.
Taylor & operator/=(const T &)
Divide by scalar and assign.
T sum() const
Return sum of series.
Matrix< T > operator/(const Matrix< T > &, const T &)
Matrix divided by scalar.
Taylor & operator-=(const Taylor &)
Subtract series and assign.
void clear()
Clear all coefficients.
Matrix< T > operator*(const Matrix< T > &, const Matrix< T > &)
Matrix multiply.
Taylor & operator+=(const Taylor &)
Add series and assign.
const Taylor & operator=(const Taylor &)
Tps< T > PoissonBracket(const Tps< T > &x, const Tps< T > &y)
Poisson bracket.
T * begin()
Get pointer to beginning of series (zero-order term).
T * end()
Get pointer to end of series (one beyond highest term).
Taylor integrate() const
Integrate with respect to the variable.
T & operator[](int n)
Get coefficient.
Taylor operator-() const
Change sign of series.
int getOrder() const
Return order of this series.
A representation for a Taylor series in one variable,.
Matrix< T > operator-(const Matrix< T > &, const Matrix< T > &)
Matrix subtraction.
Taylor & operator*=(const T &)
Multiply by scalar and assign.