Template Class SeriesBase

Inheritance Relationships

Base Type

Class Documentation

template<typename Poly, typename Coeff, typename Series>
class SymEngine::SeriesBase : public SymEngine::SeriesCoeffInterface

Public Functions

SeriesBase(Poly p, std::string var, unsigned degree)
unsigned get_degree() const
const std::string &get_var() const
const Poly &get_poly() const
bool is_zero() const

Return

true if 0

bool is_one() const

Return

true if 1

bool is_minus_one() const

Return

true if -1

bool is_negative() const

Return

true if negative

bool is_positive() const

Return

true if positive

bool is_complex() const

Return

true if a complex number

bool __eq__(const Basic &o) const

true if this is equal to o. Deprecated: Use eq(const Basic &a, const Basic &b) non-member method

RCP<const Number> add(const Number &other) const

Addition.

RCP<const Number> mul(const Number &other) const

Multiplication.

RCP<const Number> pow(const Number &other) const

Power.

RCP<const Number> rpow(const Number &other) const

Public Static Functions

const std::list<unsigned int> &step_list(unsigned int prec)
Poly series_invert(const Poly &s, const Poly &var, unsigned int prec)
Poly series_reverse(const Poly &s, const Poly &var, unsigned int prec)
Poly series_nthroot(const Poly &s, int n, const Poly &var, unsigned int prec)
Poly series_atan(const Poly &s, const Poly &var, unsigned int prec)
Poly series_tan(const Poly &s, const Poly &var, unsigned int prec)
Poly series_cot(const Poly &s, const Poly &var, unsigned int prec)
Poly _series_sin(const Poly &s, unsigned int prec)
Poly series_sin(const Poly &s, const Poly &var, unsigned int prec)
Poly series_csc(const Poly &s, const Poly &var, unsigned int prec)
Poly series_asin(const Poly &s, const Poly &var, unsigned int prec)
Poly series_acos(const Poly &s, const Poly &var, unsigned int prec)
Poly _series_cos(const Poly &s, unsigned int prec)
Poly series_cos(const Poly &s, const Poly &var, unsigned int prec)
Poly series_sec(const Poly &s, const Poly &var, unsigned int prec)
Poly series_log(const Poly &s, const Poly &var, unsigned int prec)
Poly series_exp(const Poly &s, const Poly &var, unsigned int prec)
Poly series_lambertw(const Poly &s, const Poly &var, unsigned int prec)
Poly series_sinh(const Poly &s, const Poly &var, unsigned int prec)
Poly series_cosh(const Poly &s, const Poly &var, unsigned int prec)
Poly series_atanh(const Poly &s, const Poly &var, unsigned int prec)
Poly series_asinh(const Poly &s, const Poly &var, unsigned int prec)
Poly series_tanh(const Poly &s, const Poly &var, unsigned int prec)
Coeff sin(const Coeff &c)
Coeff cos(const Coeff &c)
Coeff tan(const Coeff &c)
Coeff asin(const Coeff &c)
Coeff acos(const Coeff &c)
Coeff atan(const Coeff &c)
Coeff sinh(const Coeff &c)
Coeff cosh(const Coeff &c)
Coeff tanh(const Coeff &c)
Coeff asinh(const Coeff &c)
Coeff atanh(const Coeff &c)
Coeff exp(const Coeff &c)
Coeff log(const Coeff &c)

Protected Attributes

const Poly p_
const std::string var_
const unsigned degree_