5#ifndef OASIS_SUBTRACT_HPP
6#define OASIS_SUBTRACT_HPP
15class Subtract<Expression, Expression> :
public BinaryExpression<Subtract> {
18 Subtract(
const Subtract<Expression, Expression>& other) =
default;
20 Subtract(
const Expression& minuend,
const Expression& subtrahend);
156template <
typename MinuendT = Expression,
typename SubtrahendT = MinuendT>
165 Subtract(
const MinuendT& addend1,
const SubtrahendT& addend2)
#define EXPRESSION_CATEGORY(category)
Definition Expression.hpp:237
#define EXPRESSION_TYPE(type)
Definition Expression.hpp:226
A binary expression.
Definition BinaryExpression.hpp:83
auto Integrate(const Expression &integrationVariable) const -> std::unique_ptr< Expression > override
Attempts to integrate this expression using integration rules.
Definition BinaryExpression.hpp:200
The Subtract expression subtracts two expressions.
Definition Subtract.hpp:157
Subtract(const Subtract< MinuendT, SubtrahendT > &other)
Definition Subtract.hpp:160
Subtract(const MinuendT &addend1, const SubtrahendT &addend2)
Definition Subtract.hpp:165
auto operator=(const Subtract &other) -> Subtract &=default
@ BinExp
Definition Expression.hpp:52