6 #ifndef SYMENGINE_POW_H
7 #define SYMENGINE_POW_H
20 RCP<const Basic> base_, exp_;
25 Pow(
const RCP<const Basic> &base,
const RCP<const Basic> &
exp);
51 RCP<const Basic> pow(
const RCP<const Basic> &a,
const RCP<const Basic> &b);
54 RCP<const Basic>
exp(
const RCP<const Basic> &x);
56 void multinomial_coefficients(
unsigned m,
unsigned n, map_vec_uint &r);
57 void multinomial_coefficients_mpz(
unsigned m,
unsigned n, map_vec_mpz &r);
61 inline RCP<const Basic> sqrt(
const RCP<const Basic> &x)
66 inline RCP<const Basic> cbrt(
const RCP<const Basic> &x)
#define IMPLEMENT_TYPEID(SYMENGINE_ID)
Inline members and functions.
The lowest unit of symbolic representation.
hash_t __hash__() const override
Pow(const RCP< const Basic > &base, const RCP< const Basic > &exp)
Pow Constructor.
bool __eq__(const Basic &o) const override
vec_basic get_args() const override
Returns the list of arguments.
RCP< const Basic > get_exp() const
RCP< const Basic > get_base() const
bool is_canonical(const Basic &base, const Basic &exp) const
int compare(const Basic &o) const override
Main namespace for SymEngine package.
RCP< const Basic > div(const RCP< const Basic > &a, const RCP< const Basic > &b)
Division.
std::enable_if< std::is_integral< T >::value, RCP< const Integer > >::type integer(T i)
RCP< const Basic > pow_expand(const RCP< const Pow > &self)
Expand the power expression.
RCP< const Basic > exp(const RCP< const Basic > &x)
Returns the natural exponential function E**x = pow(E, x)