5#ifndef OASIS_EXPONENT_HPP
6#define OASIS_EXPONENT_HPP
15class Exponent<Expression, Expression> :
public BinaryExpression<Exponent> {
18 Exponent(
const Exponent<Expression, Expression>& other) =
default;
20 Exponent(
const Expression& base,
const Expression& power);
83template <
typename BaseT = Expression,
typename PowerT = BaseT>
92 Exponent(
const BaseT& base,
const PowerT& power)
#define EXPRESSION_CATEGORY(category)
Definition Expression.hpp:231
#define EXPRESSION_TYPE(type)
Definition Expression.hpp:220
A binary expression.
Definition BinaryExpression.hpp:83
auto Differentiate(const Expression &differentiationVariable) const -> std::unique_ptr< Expression > override
Tries to differentiate this function.
Definition BinaryExpression.hpp:132
auto Integrate(const Expression &integrationVariable) const -> std::unique_ptr< Expression > override
Attempts to integrate this expression using integration rules.
Definition BinaryExpression.hpp:204
The exponent expression creates an exponent two expressions.
Definition Exponent.hpp:84
auto operator=(const Exponent &other) -> Exponent &=default
Exponent(const Exponent< BaseT, PowerT > &other)
Definition Exponent.hpp:87
Exponent(const BaseT &base, const PowerT &power)
Definition Exponent.hpp:92
@ BinExp
Definition Expression.hpp:52