13template <IExpression AugendT, IExpression AddendT>
41template <IExpression AugendT = Expression, IExpression AddendT = AugendT>
50 Add(
const AugendT& addend1,
const AddendT& addend2)
#define EXPRESSION_CATEGORY(category)
Definition Expression.hpp:192
#define DECL_SPECIALIZE(type)
Definition Expression.hpp:203
#define EXPRESSION_TYPE(type)
Definition Expression.hpp:181
The Add expression adds two expressions together.
Definition Add.hpp:42
Add(const Add< AugendT, AddendT > &other)
Definition Add.hpp:45
Add(const AugendT &addend1, const AddendT &addend2)
Definition Add.hpp:50
auto operator=(const Add &other) -> Add &=default
A binary expression.
Definition BinaryExpression.hpp:79
auto Simplify() const -> std::unique_ptr< Expression > override
Simplifies this expression.
Definition BinaryExpression.hpp:200
auto Differentiate(const Expression &differentiationVariable) const -> std::unique_ptr< Expression > override
Tries to differentiate this function.
Definition BinaryExpression.hpp:128
auto Integrate(const Expression &integrationVariable) const -> std::unique_ptr< Expression > override
Attempts to integrate this expression using integration rules.
Definition BinaryExpression.hpp:205
BinaryExpression()=default
An expression.
Definition Expression.hpp:56
@ Commutative
Definition Expression.hpp:44
@ Associative
Definition Expression.hpp:43
@ BinExp
Definition Expression.hpp:45