19#ifdef DEAL_II_WITH_SYMENGINE
23# include <symengine/add.h>
24# include <symengine/functions.h>
25# include <symengine/mul.h>
26# include <symengine/pow.h>
34 namespace SE = ::SymEngine;
48 return SE::sqrt(
x.get_RCP());
55 return SE::cbrt(
x.get_RCP());
62 return SE::exp(exponent.
get_RCP());
69 return SE::log(
x.get_RCP());
76 return SE::log(
x.get_RCP(), base.
get_RCP());
90 return SE::sin(
x.get_RCP());
97 return SE::cos(
x.get_RCP());
104 return SE::tan(
x.get_RCP());
111 return SE::csc(
x.get_RCP());
118 return SE::sec(
x.get_RCP());
125 return SE::cot(
x.get_RCP());
132 return SE::asin(
x.get_RCP());
139 return SE::acos(
x.get_RCP());
146 return SE::atan(
x.get_RCP());
153 return SE::atan2(
y.get_RCP(),
x.get_RCP());
160 return SE::acsc(
x.get_RCP());
167 return SE::asec(
x.get_RCP());
174 return SE::acot(
x.get_RCP());
181 return SE::sinh(
x.get_RCP());
188 return SE::cosh(
x.get_RCP());
195 return SE::tanh(
x.get_RCP());
202 return SE::csch(
x.get_RCP());
209 return SE::sech(
x.get_RCP());
216 return SE::coth(
x.get_RCP());
223 return SE::asinh(
x.get_RCP());
230 return SE::acosh(
x.get_RCP());
237 return SE::atanh(
x.get_RCP());
244 return SE::acsch(
x.get_RCP());
251 return SE::asech(
x.get_RCP());
258 return SE::acoth(
x.get_RCP());
265 return SE::abs(
x.get_RCP());
272 return SE::abs(
x.get_RCP());
279 return SE::sign(
x.get_RCP());
293 return SE::floor(
x.get_RCP());
300 return SE::ceiling(
x.get_RCP());
307 return SE::max({a.
get_RCP(), b.get_RCP()});
314 return SE::min({a.
get_RCP(), b.get_RCP()});
321 return SE::erf(
x.get_RCP());
328 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 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 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)