18#ifdef DEAL_II_WITH_SYMENGINE
22# include <symengine/add.h>
23# include <symengine/functions.h>
24# include <symengine/mul.h>
25# include <symengine/pow.h>
33 namespace SE = ::SymEngine;
47 return SE::sqrt(
x.get_RCP());
54 return SE::cbrt(
x.get_RCP());
61 return SE::exp(exponent.
get_RCP());
68 return SE::log(
x.get_RCP());
75 return SE::log(
x.get_RCP(), base.
get_RCP());
89 return SE::sin(
x.get_RCP());
96 return SE::cos(
x.get_RCP());
103 return SE::tan(
x.get_RCP());
110 return SE::csc(
x.get_RCP());
117 return SE::sec(
x.get_RCP());
124 return SE::cot(
x.get_RCP());
131 return SE::asin(
x.get_RCP());
138 return SE::acos(
x.get_RCP());
145 return SE::atan(
x.get_RCP());
152 return SE::atan2(
y.get_RCP(),
x.get_RCP());
159 return SE::acsc(
x.get_RCP());
166 return SE::asec(
x.get_RCP());
173 return SE::acot(
x.get_RCP());
180 return SE::sinh(
x.get_RCP());
187 return SE::cosh(
x.get_RCP());
194 return SE::tanh(
x.get_RCP());
201 return SE::csch(
x.get_RCP());
208 return SE::sech(
x.get_RCP());
215 return SE::coth(
x.get_RCP());
222 return SE::asinh(
x.get_RCP());
229 return SE::acosh(
x.get_RCP());
236 return SE::atanh(
x.get_RCP());
243 return SE::acsch(
x.get_RCP());
250 return SE::asech(
x.get_RCP());
257 return SE::acoth(
x.get_RCP());
264 return SE::abs(
x.get_RCP());
271 return SE::abs(
x.get_RCP());
278 return SE::sign(
x.get_RCP());
292 return SE::floor(
x.get_RCP());
299 return SE::ceiling(
x.get_RCP());
306 return SE::max({a.
get_RCP(), b.get_RCP()});
313 return SE::min({a.
get_RCP(), b.get_RCP()});
320 return SE::erf(
x.get_RCP());
327 return SE::erfc(
x.get_RCP());
const SymEngine::RCP< const SymEngine::Basic > & get_RCP() const
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
Expression cbrt(const Expression &x)
Expression atanh(const Expression &x)
Expression atan2(const Expression &y, const Expression &x)
Expression asin(const Expression &x)
Expression asinh(const Expression &x)
Expression cosh(const Expression &x)
Expression csc(const Expression &x)
Expression acsch(const Expression &x)
Expression abs(const Expression &x)
Expression fabs(const Expression &x)
Expression ceil(const Expression &x)
Expression coth(const Expression &x)
Expression sinh(const Expression &x)
Expression sec(const Expression &x)
Expression atan(const Expression &x)
Expression floor(const Expression &x)
Expression tanh(const Expression &x)
Expression acsc(const Expression &x)
Expression sin(const Expression &x)
Expression max(const Expression &a, const Expression &b)
Expression erfc(const Expression &x)
Expression exp(const Expression &exponent)
Expression asech(const Expression &x)
Expression pow(const Expression &base, const Expression &exponent)
Expression sign(const Expression &x)
Expression sech(const Expression &x)
Expression acos(const Expression &x)
Expression csch(const Expression &x)
Expression tan(const Expression &x)
Expression acosh(const Expression &x)
Expression min(const Expression &a, const Expression &b)
Expression asec(const Expression &x)
Expression cot(const Expression &x)
Expression cos(const Expression &x)
Expression erf(const Expression &x)
Expression acoth(const Expression &x)
Expression acot(const Expression &x)
Expression log(const Expression &x)
Expression sqrt(const Expression &x)
Expression log10(const Expression &x)
Expression copysign(const Expression &value, const Expression &sign)